CVE-2021-43300 Memory corruption in pjsip

Critical 9.8 Published Updated

An attacker can trigger a stack buffer overflow in the PJSIP library via a crafted filename, potentially leading to code execution or denial of service.

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-43300?

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

Official description

Stack overflow in PJSUA API when calling pjsua_recorder_create. An attacker-controlled 'filename' argument may cause a buffer overflow since it is copied to a fixed-size stack buffer without any size validation.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2021-43300?

It affects 2 products.

Products include Debian Debian Linux, Teluu Pjsip.

How do I fix CVE-2021-43300?

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-2021-43300 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-43300, DEBIAN-CVE-2021-43300, GHSA-xqp8-79vm-66m9, UBUNTU-CVE-2021-43300.

Is CVE-2021-43300 in your software?

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

Check your SBOMs for free