Vulnerability · Published May 31, 2022 · Assigned by GitHub_M
CVE-2022-31002Out-of-bounds Read in Sofia-SIP
High 7.5
In plain English
A high-severity out-of-bounds read in sofia-sip from freeswitch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 a crash. This type of crash may be caused by a URL ending with `%`. Version 1.13.8 contains a patch for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | sofia-sip | 1.13.8-r0 | ALPINE-CVE-2022-31002 |
| Alpine:v3.21 | sofia-sip | 1.13.8-r0 | ALPINE-CVE-2022-31002 |
| Alpine:v3.22 | sofia-sip | 1.13.8-r0 | ALPINE-CVE-2022-31002 |
| Alpine:v3.23 | sofia-sip | 1.13.8-r0 | ALPINE-CVE-2022-31002 |
| Alpine:v3.24 | sofia-sip | 1.13.8-r0 | ALPINE-CVE-2022-31002 |
| Debian:12 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-3 | DEBIAN-CVE-2022-31002 |
| Debian:13 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-3 | DEBIAN-CVE-2022-31002 |
| Debian:14 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-3 | DEBIAN-CVE-2022-31002 |
| Ubuntu:22.04:LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 | UBUNTU-CVE-2022-31002 |
| Ubuntu:22.04:LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 | USN-5932-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| freeswitch | sofia-sip | < 1.13.8 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-g3x6-p824-x6hm
- https://github.com/freeswitch/sofia-sip/commit/51841eb53679434a386fb2dcbca925dcc48d58ba
- [debian-lts-announce] 20220902 [SECURITY] [DLA 3091-1] sofia-sip security update mailing-list
- GLSA-202210-18 vendor-advisory
- DSA-5410 vendor-advisory