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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3091-1, DSA-5410-1
Debian Bugs1016974

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sofia-sip (PTS)buster1.12.11+20110422.1-2.1vulnerable
buster (security)1.12.11+20110422.1-2.1+deb10u4fixed
bullseye (security), bullseye1.12.11+20110422.1-2.1+deb11u2fixed
trixie, bookworm1.12.11+20110422.1+1e14eea~dfsg-6fixed
sid1.12.11+20110422.1+1e14eea~dfsg-6.1fixed

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-sipsourcebullseye1.12.11+20110422.1-2.1+deb11u1DSA-5410-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