Out-of-bounds Read in Freeswitch Sofia-Sip

CVE-2022-31001

Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0)`, which will make `n` bigger and trigger out-of-bound access when `IS_NON_WS(s[n])`. Version 1.13.8 contains a patch for this issue.

Vulnerability class: Buffer Overflow

EPSS: 0.021 (79.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-31001?
CVE-2022-31001 is a high-severity vulnerability in Freeswitch Sofia-Sip, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2022-05-31.
How severe is CVE-2022-31001?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2022-31001 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.