CVE-2022-23547: Heap buffer overflow in pjproject when decoding STUN message
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. This issue is similar to GHSA-9pfh-r8x4-w26w. Possible buffer overread when parsing a certain STUN message. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as commit in the master branch.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20180228.1.503 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20190215.1. - Upgrade
Upgrade
debian/ringto a version that resolves this vulnerability.Fixed in 20230206.0~ds1-1 - Upgrade
Upgrade
debian/asteriskto a version that resolves this vulnerability.Fixed in 1:16.28.0~dfsg-0+deb10u2Fixed in 1:16.28.0~dfsg-0+deb11u2Fixed in 1:20.4.0~dfsg+~cs6.13.40431414-1 - Upgrade
Upgrade
debian/ringto a version that resolves this vulnerability.Fixed in 20190215.1.f152c98~ds1-1+deb10u2Fixed in 20210112.2.b757bac~ds1-1+deb11u1Fixed in 20230206.0~ds1-1 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
Event History
Frequently Asked Questions
What is CVE-2022-23547?
CVE-2022-23547 is a vulnerability in the PJSIP multimedia communication library that allows for possible buffer overread when parsing a certain STUN message.
How does CVE-2022-23547 impact PJSIP and Ubuntu Ring?
CVE-2022-23547 affects PJSIP versions up to 2.13.1, as well as Ubuntu Ring versions 20180228.1.503 and 20190215.1.
What is the severity of CVE-2022-23547?
CVE-2022-23547 has a severity rating of 9.8 (critical).
How do I fix CVE-2022-23547 in PJSIP?
To fix CVE-2022-23547 in PJSIP, upgrade to a version higher than 2.13.1.
How do I fix CVE-2022-23547 in Ubuntu Ring?
To fix CVE-2022-23547 in Ubuntu Ring, update to a version higher than 20180228.1.503 or 20190215.1, depending on the specific package.