CVE-2022-31003

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31003
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31003.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31003
Aliases
  • GHSA-8w5j-6g2j-pxcp
Downstream
Related
Published
2022-05-31T00:00:00Z
Modified
2025-10-22T18:28:34.324422Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP
Details

Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, rest = record + 2 will access the memory behind \0 and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.

Database specific
{
    "cwe_ids": [
        "CWE-122",
        "CWE-787"
    ]
}
References

Affected packages

Git / github.com/freeswitch/sofia-sip

Affected ranges

Type
GIT
Repo
https://github.com/freeswitch/sofia-sip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.13.2
v1.13.3
v1.13.4
v1.13.5
v1.13.6
v1.13.7