Skip to content
OpenAdvisories
High · 7.5 CVE-2022-31001 EUVD-2022-52708

Out-of-bounds Read in Sofia-SIP

Published May 31, 2022 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
freeswitch sofia-sip < 1.13.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-3 —
Debian 13 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-3 —
Debian 12 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-3 —
Debian 11 sofia-sip 1.12.11+20110422.1-2.1+deb11u1 DSA-5410-1
Debian 10 sofia-sip 1.12.11+20110422.1-2.1+deb10u1 DLA-3091-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 USN-5932-1
Ubuntu 20.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 USN-5932-1
Ubuntu 18.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 USN-5932-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 USN-5932-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sofia-sip 1.13.17+50-1.1 openSUSE-SU-2026:10964-1
ReleasePackageFixed inAdvisory
Alpine v3.24 sofia-sip 1.13.8-r0 —
Alpine v3.23 sofia-sip 1.13.8-r0 —
Alpine v3.22 sofia-sip 1.13.8-r0 —
Alpine v3.21 sofia-sip 1.13.8-r0 —
Alpine v3.20 sofia-sip 1.13.8-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 sofia-sip 1.13.8-r0 —
Alpine v3.18 sofia-sip 1.13.8-r0 —
Alpine v3.17 sofia-sip 1.13.8-r0 —
Alpine v3.16 sofia-sip 1.13.8-r0 —
Alpine v3.15 sofia-sip 1.13.8-r0 —
Alpine v3.14 sofia-sip 1.13.8-r0 —

Advisories 4

References