Vulnerability · Published Mar 11, 2022 · Assigned by GitHub_M

CVE-2022-24754Buffer overflow in pjsip

High 8.5

In plain English

A high-severity buffer overflow in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)2.1%top 18.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.12.1-r0ALPINE-CVE-2022-24754
Alpine:v3.21pjproject2.12.1-r0ALPINE-CVE-2022-24754
Alpine:v3.22pjproject2.12.1-r0ALPINE-CVE-2022-24754
Alpine:v3.23pjproject2.12.1-r0ALPINE-CVE-2022-24754
Alpine:v3.24pjproject2.12.1-r0ALPINE-CVE-2022-24754
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2022-24754

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.12

Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References