Vulnerability · Published Feb 16, 2022 · Assigned by JFROG
CVE-2021-43301
Critical 9.8
In plain English
A critical-severity stack buffer overflow in pjsip from teluu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.4%top 16.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Stack overflow in PJSUA API when calling pjsua_playlist_create. An attacker-controlled 'file_names' argument may cause a buffer overflow since it is copied to a fixed-size stack buffer without any size validation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43301 |
| Alpine:v3.21 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43301 |
| Alpine:v3.22 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43301 |
| Alpine:v3.23 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43301 |
| Alpine:v3.24 | pjproject | 2.12-r0 | ALPINE-CVE-2021-43301 |
| Debian:14 | asterisk | 1:18.11.1~dfsg+~cs6.10.40431413-1 | DEBIAN-CVE-2021-43301 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2021-43301 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43301 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43301 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2021-43301 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2021-43301 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2021-43301 |
Affected products (as reported)
Weakness: CWE-121
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-qcvw-h34v-c7r9
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update mailing-list
- [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