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.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj | third party advisory patch |
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202 | third party advisory patch |
https://security.gentoo.org/glsa/202210-37 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html | mailing list |
https://www.debian.org/security/2023/dsa-5358 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html | mailing list |