CVE-2022-31001
published 2022-05-31CVE-2022-31001: 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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.02%
78.5th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | sofia-sip | < sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-3 (bookworm) | sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-3 (bookworm) |
| freeswitch | sofia-sip | < 1.13.8 | 1.13.8 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1-2.1+deb11u1 | 1.12.11+20110422.1-2.1+deb11u1 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1+1e14eea~dfsg-3 | 1.12.11+20110422.1+1e14eea~dfsg-3 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1+1e14eea~dfsg-3 | 1.12.11+20110422.1+1e14eea~dfsg-3 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1+1e14eea~dfsg-3 | 1.12.11+20110422.1+1e14eea~dfsg-3 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 | 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 |
| freeswitch | sofia-sip | >= 0 < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 |
| signalwire | sofia-sip | < 1.13.8 | 1.13.8 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Sofia-SIP vulnerabilities
vendor_ubuntu·2023-03-07·CVSS 7.5
CVE-2022-47516 [HIGH] Sofia-SIP vulnerabilities
Title: Sofia-SIP vulnerabilities
Summary: Several security issues were fixed in Sofia-SIP.
It was discovered that Sofia-SIP incorrectly handled specially
crafted SDP packets. A remote attacker could use this issue
to cause applications using Sofia-SIP to crash, leading to
a denial of service, or possibly execute arbitrary code.
This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-31001, CVE-2022-31002, CVE-2022-31003)
It was discovered that Sofia-SIP incorrectly handled specially
crafted UDP packets. A remote attacker could use this issue
to cause applications using Sofia-SIP to crash, leading to
a denial of service. (CVE-2022-47516)
Qiuhao Li discovered that Sofia-SIP incorrectly handled specially
crafted STUN packets. A remote
Debian
CVE-2022-31001: sofia-sip - Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library...
vendor_debian·2022·CVSS 7.5
CVE-2022-31001 [HIGH] CVE-2022-31001: sofia-sip - Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library...
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.
Scope: local
bookworm: resolved (fixed in 1.12.11+20110422.1+1e14eea~dfsg-3)
bullseye: resolved (fixed in 1.12.11+20110422.1-2.1+deb11u1)
forky: resolved (fixed in 1.12.11+20110422.1+1e14eea~dfsg-3)
sid: resolved (fixed in 1.12.11+20110422.1+1e14eea~dfsg-3)
trixie: resolved (fixed in 1.12.11+20110422.1+1e14eea~dfsg-3)
OSV
sofia-sip vulnerabilities
osv·2023-03-07·CVSS 7.5
CVE-2022-31001 [HIGH] sofia-sip vulnerabilities
sofia-sip vulnerabilities
It was discovered that Sofia-SIP incorrectly handled specially
crafted SDP packets. A remote attacker could use this issue
to cause applications using Sofia-SIP to crash, leading to
a denial of service, or possibly execute arbitrary code.
This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2022-31001, CVE-2022-31002, CVE-2022-31003)
It was discovered that Sofia-SIP incorrectly handled specially
crafted UDP packets. A remote attacker could use this issue
to cause applications using Sofia-SIP to crash, leading to
a denial of service. (CVE-2022-47516)
Qiuhao Li discovered that Sofia-SIP incorrectly handled specially
crafted STUN packets. A remote attacker could use this issue
to cause applications using Sofia-SI
OSV
CVE-2022-31001: Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library
osv·2022-05-31·CVSS 7.5
CVE-2022-31001 [HIGH] CVE-2022-31001: Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-79jq-hh82-cv9ghttps://lists.debian.org/debian-lts-announce/2022/09/msg00001.htmlhttps://security.gentoo.org/glsa/202210-18https://www.debian.org/security/2023/dsa-5410https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-79jq-hh82-cv9ghttps://lists.debian.org/debian-lts-announce/2022/09/msg00001.htmlhttps://security.gentoo.org/glsa/202210-18https://www.debian.org/security/2023/dsa-5410
2022-05-31
Published