Vulnerability · Published Dec 20, 2022 · Assigned by GitHub_M
CVE-2022-23537PJSIP vulnerable to heap buffer overflow when decoding STUN message
Medium 6.5
In plain English
A medium-severity heap buffer overflow in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. Buffer overread is possible when parsing a specially crafted STUN message with unknown attribute. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as a commit in the master branch (2.13.1).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | asterisk | 1:20.4.0~dfsg+~cs6.13.40431414-1 | DEBIAN-CVE-2022-23537 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2022-23537 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-23537 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-23537 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2022-23537 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-23537 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2022-23537 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w x_refsource_CONFIRM
- https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html