CVE-2022-21722 Potential out-of-bound read during RTP/RTCP parsing in PJSIP

Critical 9.1 Published Updated

Attackers can cause out-of-bound reads in PJSIP via malicious RTP/RTCP packets, potentially leading to crashes or data exposure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-21722?

CVE-2022-21722 is a critical memory corruption vulnerability in Debian Debian Linux, published on 27 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2022-21722?

It affects 2 products.

Products include Debian Debian Linux, Teluu Pjsip.

How do I fix CVE-2022-21722?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-21722 being exploited?

There is no known exploitation of CVE-2022-21722 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-21722, DEBIAN-CVE-2022-21722, GHSA-m66q-q64c-hv36, UBUNTU-CVE-2022-21722.

Is CVE-2022-21722 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free