CVE-2022-21723: Out-of-bounds read in multipart parsing in PJSIP

Published Jan 27, 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 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the master branch. There are no known workarounds.

Affected Software

23 affected componentsFixes available
debian/asterisk
1:16.28.0~dfsg-0+deb10u41:16.28.0~dfsg-0+deb11u31:16.28.0~dfsg-0+deb11u41:20.6.0~dfsg+~cs6.13.40431414-2
debian/ring
20190215.1.f152c98~ds1-1+deb10u220230206.0~ds2-1.120231201.0~ds1-1
ubuntu/ring<20180228.1.503
20180228.1.503
ubuntu/ring<20190215.1.
20190215.1.
Teluu PJSIP<=2.11.1
Asterisk Certified Asterisk=16.8.0
Asterisk Certified Asterisk=16.8.0-cert1
Asterisk Certified Asterisk=16.8.0-cert10
Asterisk Certified Asterisk=16.8.0-cert11
Asterisk Certified Asterisk=16.8.0-cert12
Asterisk Certified Asterisk=16.8.0-cert2
Asterisk Certified Asterisk=16.8.0-cert3
Asterisk Certified Asterisk=16.8.0-cert4
Asterisk Certified Asterisk=16.8.0-cert5
Asterisk Certified Asterisk=16.8.0-cert6
Asterisk Certified Asterisk=16.8.0-cert7
Asterisk Certified Asterisk=16.8.0-cert8
Asterisk Certified Asterisk=16.8.0-cert9
Sangoma Asterisk>=16.0.0<16.24.1
Sangoma Asterisk>=18.0.0<18.10.1
Sangoma Asterisk>=19.0.0<19.2.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Event History

Jan 27, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-21723?

CVE-2022-21723 is a vulnerability in the PJSIP library that allows remote attackers to cause a denial of service (DoS) and potentially execute arbitrary code.

2

What is the severity of CVE-2022-21723?

CVE-2022-21723 has a severity rating of 9.1 (Critical).

3

Which software versions are affected by CVE-2022-21723?

Versions 2.11.1 and prior of Teluu Pjsip, Certified Asterisk 16.8.0, and Sangoma Asterisk 16.0.0 - 16.24.1, 18.0.0 - 18.10.1, and 19.0.0 - 19.2.1 are affected by CVE-2022-21723.

4

How can CVE-2022-21723 be exploited?

CVE-2022-21723 can be exploited by sending a malformed multipart SIP message, which can lead to out-of-bounds read/write access and potential code execution.

5

Is there a fix for CVE-2022-21723?

Yes, updating to the latest version of the affected software or applying the relevant patches provided by the vendors can fix CVE-2022-21723.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203