diff --git a/2022/31xxx/CVE-2022-31031.json b/2022/31xxx/CVE-2022-31031.json index 79a2ba86f84..f3aa7c0be91 100644 --- a/2022/31xxx/CVE-2022-31031.json +++ b/2022/31xxx/CVE-2022-31031.json @@ -1,18 +1,88 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-31031", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Potential stack buffer overflow when parsing message as a STUN client" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "pjproject", + "version": { + "version_data": [ + { + "version_value": "<= 2.12.1" + } + ] + } + } + ] + }, + "vendor_name": "pjsip" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "NETWORK", + "availabilityImpact": "HIGH", + "baseScore": 9.8, + "baseSeverity": "CRITICAL", + "confidentialityImpact": "HIGH", + "integrityImpact": "HIGH", + "privilegesRequired": "NONE", + "scope": "UNCHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj", + "refsource": "CONFIRM", + "url": "https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj" + }, + { + "name": "https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202", + "refsource": "MISC", + "url": "https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202" + } + ] + }, + "source": { + "advisory": "GHSA-26j7-ww69-c4qj", + "discovery": "UNKNOWN" } } \ No newline at end of file