Vulnerability · Published Apr 6, 2022 · Assigned by GitHub_M
CVE-2022-24786Potential out-of-bound read/write in PJSIP
Critical 9.8
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 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
PJSIP is a free and open source multimedia communication library written in C. PJSIP versions 2.12 and prior do not parse incoming RTCP feedback RPSI (Reference Picture Selection Indication) packet, but any app that directly uses pjmedia_rtcp_fb_parse_rpsi() will be affected. A patch is available in the `master` branch of the `pjsip/pjproject` GitHub repository. There are currently no known workarounds.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24786 |
| Alpine:v3.21 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24786 |
| Alpine:v3.22 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24786 |
| Alpine:v3.23 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24786 |
| Alpine:v3.24 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24786 |
| Debian:14 | asterisk | 1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1 | DEBIAN-CVE-2022-24786 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2022-24786 |
Affected products (as reported)
Weakness: CWE-125, CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-vhxv-phmx-g52q
- https://github.com/pjsip/pjproject/commit/11559e49e65bdf00922ad5ae28913ec6a198d508
- GLSA-202210-37 vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list
- DSA-5285 vendor-advisory