CVE-2022-21722: Potential out-of-bound read during RTP/RTCP 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 version 2.11.1 and prior, there are various cases where it is possible that certain incoming RTP/RTCP packets can potentially cause out-of-bound read access. This issue affects all users that use PJMEDIA and accept incoming RTP/RTCP. A patch is available as a commit in the master branch. There are no known workarounds.

Affected Software

17 affected componentsFixes available
ubuntu/ring<20190215.1.
20190215.1.
Teluu PJSIP<=2.11.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/asterisk<1:18.12.0~dfsg+~cs6.12.40431413-1
1:18.12.0~dfsg+~cs6.12.40431413-1
debian/ring<20230206.0~ds1-1
20230206.0~ds1-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
debian/ring
20230206.0~ds2-1.1+deb12u1
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0
alpine/pjproject<2.12-r0
2.12-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ring to a version that resolves this vulnerability.

    Fixed in 20190215.1.
  2. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.1+dfsg+~cs6.17.60671434-1
  3. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds2-1.1+deb12u1
  4. Upgrade

    Upgrade alpine/pjproject to a version that resolves this vulnerability.

    Fixed in 2.12-r0
  5. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:18.12.0~dfsg+~cs6.12.40431413-1
  6. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds1-1

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
Data Sourced
via OSV·12:15 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-21722?

CVE-2022-21722 is a vulnerability in the PJSIP multimedia communication library that can allow certain incoming RTP/RTCP packets to cause issues.

2

What software versions are affected by CVE-2022-21722?

Versions up to and including 2.11.1 of Teluu Pjsip, Debian Linux 9.0 and 10.0, and certain versions of Ubuntu Ring and Debian Asterisk and Ring are affected.

3

How severe is CVE-2022-21722?

CVE-2022-21722 has a severity score of 9.1 (critical).

4

What is the fix for CVE-2022-21722?

To fix CVE-2022-21722, you should update to a patched version of the PJSIP library or apply the necessary security patches provided by your software vendor.

5

Where can I find more information about CVE-2022-21722?

You can find more information about CVE-2022-21722 on the following references: [link1], [link2], [link3].

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