CVE-2021-43299: Buffer Overflow
Stack overflow in PJSUA API when calling pjsuaplayercreate. An attacker-controlled 'filename' argument may cause a buffer overflow since it is copied to a fixed-size stack buffer without any size validation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20180228.1.503 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20190215.1. - Upgrade
Upgrade
ubuntu/pjprojectto a version that resolves this vulnerability.Fixed in 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/pjprojectto a version that resolves this vulnerability.Fixed in 2.7.2~dfsg-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/ringto a version that resolves this vulnerability.Fixed in 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 - Upgrade
Upgrade
debian/ringto a version that resolves this vulnerability.Fixed in 20230206.0~ds1-1 - Upgrade
Upgrade
debian/asteriskto a version that resolves this vulnerability.Fixed in 1:16.28.0~dfsg-0+deb10u1Fixed in 1:16.28.0~dfsg-0+deb11u1Fixed in 1:18.11.1~dfsg+~cs6.10.40431413-1 - Upgrade
Upgrade
debian/ringto a version that resolves this vulnerability.Fixed in 20190215.1.f152c98~ds1-1+deb10u2Fixed in 20210112.2.b757bac~ds1-1+deb11u1Fixed in 20230206.0~ds1-1 - Upgrade
Upgrade
debian/pjprojectto a version that resolves this vulnerability.Fixed in 2.5.5~dfsg-6+deb9u3
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is CVE-2021-43299?
CVE-2021-43299 is a vulnerability that allows a stack overflow in PJSUA API when calling pjsua_player_create.
What is the severity of CVE-2021-43299?
CVE-2021-43299 has a severity rating of 9.8 (Critical).
Which software is affected by CVE-2021-43299?
CVE-2021-43299 affects Teluu Pjsip versions up to and including 2.11.1, as well as Debian Linux versions 9.0, 10.0, and 11.0.
How does CVE-2021-43299 occur?
CVE-2021-43299 occurs when an attacker-controlled 'filename' argument is passed to pjsua_player_create, causing a buffer overflow.
How can I fix CVE-2021-43299?
To fix CVE-2021-43299, update to the latest version of Teluu Pjsip or Debian Linux, depending on the affected software.