Bug#1017004: asterisk: CVE-2022-31031 - stack buffer overflow when parsing message as a STUN client

Neil Williams codehelp at debian.org
Thu Aug 11 09:25:48 BST 2022


Source: asterisk
Version: 1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: codehelp at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for asterisk STUN support.

CVE-2022-31031[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-31031
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31031

Please adjust the affected versions in the BTS as needed.




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-voip-maintainers mailing list