CVE-2022-31003
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.85%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.85% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-122, CWE-787
- Affected
- signalwire/sofia-sip · debian/debian linux
- Source
- security-advisories@github.com
References
- https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9Patch, Third Party Advisory
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcpExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00001.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202210-18Third Party Advisory
- https://www.debian.org/security/2023/dsa-5410
- https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9Patch, Third Party Advisory
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcpExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00001.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202210-18Third Party Advisory
- https://www.debian.org/security/2023/dsa-5410
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.