Buffer overflow in Pjsip Pjproject
CVE-2022-31031
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. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.021 · change: +0.001
Affected products
- Pjsip Pjproject — versions <= 2.12.1
- Teluu Pjsip
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
References
- github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj (Patch, Third Party Advisory)
- github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202 (Patch, Third Party Advisory)
- security.gentoo.org/glsa/202210-37 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/02/msg00029.html (mailing-list, Mailing List)
- www.debian.org/security/2023/dsa-5358 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/08/msg00038.html (mailing-list)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-31031?
- CVE-2022-31031 is a critical-severity vulnerability in Pjsip Pjproject, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 9.8/10. Published 2022-06-09.
- How severe is CVE-2022-31031?
- Critical severity. CVSS v3 base score is 9.8 out of 10.