CVE-2022-31003

NameCVE-2022-31003
DescriptionSofia-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3091-1
Debian Bugs1016974

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sofia-sip (PTS)buster, bullseye1.12.11+20110422.1-2.1vulnerable
buster (security)1.12.11+20110422.1-2.1+deb10u1fixed
bookworm, sid1.12.11+20110422.1+1e14eea~dfsg-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sofia-sipsourcebuster1.12.11+20110422.1-2.1+deb10u1DLA-3091-1
sofia-sipsource(unstable)1.12.11+20110422.1+1e14eea~dfsg-31016974

Notes

[stretch] - sofia-sip <postponed> (Minor issue)
https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp
https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9 (v1.13.8)

Search for package or bug name: Reporting problems