Potential stack buffer overflow when parsing message as a STUN client
Summary
Potential stack buffer overflow when parsing message as a STUN client
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2022-31031 pjproject Fixed in: 2.13-r0
- Debian DEBIAN-CVE-2022-31031 asterisk Fixed in: 1:16.28.0~dfsg-0+deb11u2
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.gentoo.org
- advisory debian.org
- patch github.com
- web lists.debian.org
- web lists.debian.org
- web lists.debian.org