Vulnerability · Published Dec 27, 2021 · Assigned by GitHub_M
CVE-2021-43845Prevent out-of-bounds read in PJSIP
High 8.2
In plain English
A high-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 3.9% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious actor can send a RTCP XR message with an invalid packet size.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43845 |
| Alpine:v3.21 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43845 |
| Alpine:v3.22 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43845 |
| Alpine:v3.23 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43845 |
| Alpine:v3.24 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43845 |
| Debian:14 | asterisk | 1:18.12.0~dfsg+~cs6.12.40431413-1 | DEBIAN-CVE-2021-43845 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2021-43845 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43845 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43845 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2021-43845 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43845 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2021-43845 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-r374-qrwv-86hh
- https://github.com/pjsip/pjproject/pull/2924
- https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update mailing-list
- GLSA-202210-37 vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list
- DSA-5285 vendor-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html