First published: Tue Jun 07 2022(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Teluu PJSIP | <=2.12.1 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 | |
ubuntu/ring | <20180228.1.503 | 20180228.1.503 |
ubuntu/ring | <20190215.1. | 20190215.1. |
debian/asterisk | <=1:16.2.1~dfsg-1+deb10u2 | 1:16.28.0~dfsg-0+deb10u4 1:16.28.0~dfsg-0+deb11u3 1:16.28.0~dfsg-0+deb11u4 1:20.6.0~dfsg+~cs6.13.40431414-2 |
debian/ring | <=20190215.1.f152c98~ds1-1+deb10u1<=20210112.2.b757bac~ds1-1 | 20190215.1.f152c98~ds1-1+deb10u2 20230206.0~ds2-1.1 20231201.0~ds1-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-31031 is a stack buffer overflow vulnerability in PJSIP that affects users using STUN in their application.
The severity of CVE-2022-31031 is critical with a CVSS score of 9.8.
CVE-2022-31031 affects Teluu Pjsip versions up to and including 2.12.1.
CVE-2022-31031 affects Debian Debian Linux 10.0.
CVE-2022-31031 affects Debian Debian Linux 11.0.
To fix CVE-2022-31031 in Teluu Pjsip, update to a version higher than 2.12.1.
To fix CVE-2022-31031 in Debian Debian Linux 10.0, apply the security patch with the version 1:16.28.0~dfsg-0+deb10u3 or higher.
To fix CVE-2022-31031 in Debian Debian Linux 11.0, apply the security patch with the version 1:16.28.0~dfsg-0+deb11u3 or higher.
The Common Weakness Enumerations (CWE) associated with CVE-2022-31031 are CWE-119, CWE-120, and CWE-787.