CVE-2022-24754 Buffer overflow in pjsip

High 8.5 Published Updated

A stack buffer overflow in PJSIP allows attackers to execute code or cause denial of service when using hashed digest credentials.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24754?

CVE-2022-24754 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 11 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

PJSIP is a free and open source multimedia communication library written in C language. In versions prior to and including 2.12 PJSIP there is a stack-buffer overflow vulnerability which only impacts PJSIP users who accept hashed digest credentials (credentials with data_type `PJSIP_CRED_DATA_DIGEST`). This issue has been patched in the master branch of the PJSIP repository and will be included with the next release. Users unable to upgrade need to check that the hashed digest data length must be equal to `PJSIP_MD5STRLEN` before passing to PJSIP.

Weakness: CWE-1284, CWE-120

Which versions are affected by CVE-2022-24754?

It affects 2 products.

Products include Debian Debian Linux, Teluu Pjsip.

How do I fix CVE-2022-24754?

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-24754 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-24754, DEBIAN-CVE-2022-24754, GHSA-73f7-48m9-w662, UBUNTU-CVE-2022-24754.

Is CVE-2022-24754 in your software?

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

Check your SBOMs for free