2022-05-18 19:01:27 +00:00
{
"CVE_data_meta" : {
2022-06-07 17:04:37 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
2022-05-18 19:01:27 +00:00
"ID" : "CVE-2022-31031" ,
2022-06-07 17:04:37 +00:00
"STATE" : "PUBLIC" ,
"TITLE" : "Potential stack buffer overflow when parsing message as a STUN client"
2022-05-18 19:01:27 +00:00
} ,
2022-06-07 17:04:37 +00:00
"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" ,
2022-05-18 19:01:27 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-06-07 17:04:37 +00:00
"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')"
}
]
2022-05-18 19:01:27 +00:00
}
]
2022-06-07 17:04:37 +00:00
} ,
"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"
2022-05-18 19:01:27 +00:00
}
}