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

EPSS: 0.037 (88.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.