CVE-2021-43804 Out-of-bounds read when parsing RTCP BYE message in PJSIP

High 7.3 Published Updated

A malicious actor can trigger an out-of-bounds read in PJSIP by sending a crafted RTCP BYE message, potentially causing 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-2021-43804?

CVE-2021-43804 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 22 Dec 2021. 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 affected versions if the incoming RTCP BYE message contains a reason's length, this declared length is not checked against the actual received packet size, potentially resulting in an out-of-bound read access. This issue affects all users that use PJMEDIA and RTCP. A malicious actor can send a RTCP BYE message with an invalid reason length. Users are advised to upgrade as soon as possible. There are no known workarounds.

Weakness: CWE-125

Which versions are affected by CVE-2021-43804?

It affects 2 products.

Products include Debian Debian Linux, Teluu Pjsip.

How do I fix CVE-2021-43804?

Upgrade to a fixed version.

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

Is CVE-2021-43804 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-43804, DEBIAN-CVE-2021-43804, GHSA-3qx3-cg72-wrh9, UBUNTU-CVE-2021-43804.

Is CVE-2021-43804 in your software?

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

Check your SBOMs for free