Vulnerability · Published Jan 27, 2022 · Assigned by GitHub_M

CVE-2022-21723Out-of-bounds read in multipart parsing in PJSIP

Critical 9.1

In plain English

A critical-severity out-of-bounds read 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 4.4% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)4.4%top 8.7% 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 implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the `master` branch. There are no known workarounds.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.12-r0ALPINE-CVE-2022-21723
Alpine:v3.21pjproject2.12-r0ALPINE-CVE-2022-21723
Alpine:v3.22pjproject2.12-r0ALPINE-CVE-2022-21723
Alpine:v3.23pjproject2.12-r0ALPINE-CVE-2022-21723
Alpine:v3.24pjproject2.12-r0ALPINE-CVE-2022-21723
Debian:14asterisk1:18.10.1~dfsg+~cs6.10.40431411-1DEBIAN-CVE-2022-21723
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2022-21723

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.11.1

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

References