Buffer overflow in Freeswitch Sofia-Sip
CVE-2022-31003
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.038 (89.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000
Affected products
- Freeswitch Sofia-Sip — versions < 1.13.8
- Signalwire Sofia-Sip
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp (Exploit, Third Party Advisory)
- github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/09/msg00001.html (mailing-list, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202210-18 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2023/dsa-5410 (vendor-advisory)
Frequently asked questions
- What is CVE-2022-31003?
- CVE-2022-31003 is a critical-severity vulnerability in Freeswitch Sofia-Sip, classified under Heap-based Buffer Overflow. CVSS score: 9.1/10. Published 2022-05-31.
- How severe is CVE-2022-31003?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2022-31003 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.