CVE-2022-31001

NameCVE-2022-31001
DescriptionSofia-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.
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-79jq-hh82-cv9g
https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36 (v1.13.8)

Search for package or bug name: Reporting problems