CVE-2022-31003
CVE-2022-31003 · Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.1 · Critical · EPSS 4.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
sofia-sip
- Versions
- < 1.13.8: Affected
No fix published
sofia-sip Debian:12
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-3
Update to 1.12.11+20110422.1+1e14eea~dfsg-3
sofia-sip Debian:13
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-3
Update to 1.12.11+20110422.1+1e14eea~dfsg-3
sofia-sip Debian:14
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1+1e14eea~dfsg-3
Update to 1.12.11+20110422.1+1e14eea~dfsg-3
sofia-sip Ubuntu:Pro:16.04:LTS
- Versions
- 1.12.11+20110422.1-2ubuntu1
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1
Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1
sofia-sip Ubuntu:18.04:LTS
- Versions
- 1.12.11+20110422.1-2.1
- 1.12.11+20110422.1-2.1build1
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
Update to 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
sofia-sip Ubuntu:20.04:LTS
- Versions
- 1.12.11+20110422.1-2.1build1
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
sofia-sip Ubuntu:22.04:LTS
- Versions
- 1.12.11+20110422.1-2.1ubuntu1
- 1.12.11+20110422.1-2.1ubuntu2
- Affected ranges
- ECOSYSTEM: < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
Update to 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
Original sources
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp
- https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9
- https://lists.debian.org/debian-lts-announce/2022/09/msg00001.html
- https://security.gentoo.org/glsa/202210-18
- https://www.debian.org/security/2023/dsa-5410
- https://nvd.nist.gov/vuln/detail/CVE-2022-31003