Paper/Archive/CVE-2022-31031

CVE-2022-31031

pjsip pjproject — Potential stack buffer overflow when parsing message as a STUN client

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
pjproject<= 2.12.1–CNA

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qjrefgithub.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202advisorysecurity.gentoo.org/glsa/202210-37reflists.debian.org/debian-lts-announce/2023/02/msg00029.htmladvisorydebian.org/security/2023/dsa-5358reflists.debian.org/debian-lts-announce/2023/08/msg00038.htmlreflists.debian.org/debian-lts-announce/2024/09/msg00030.html