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 trend (30 days)EPSS over the last 30 days for CVE-2022-31003: held from 0.038 to 0.038.

EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000

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.