CVE-2021-43301: Buffer Overflow
Stack overflow in PJSUA API when calling pjsuaplaylistcreate. An attacker-controlled 'filenames' 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
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-43301?
CVE-2021-43301 is a vulnerability in PJSUA API that allows an attacker-controlled 'file_names' argument to cause a buffer overflow.
What software is affected by CVE-2021-43301?
Teluu Pjsip version 2.11.1, Debian Debian Linux 9.0 and 10.0, Ubuntu Ring versions up to 20180228.1.503 and 20190215.1., and Debian Asterisk versions up to 1:16.2.1~dfsg-1+deb10u2 are affected.
What is the severity of CVE-2021-43301?
CVE-2021-43301 has a severity rating of 9.8, which is classified as critical.
How can I fix CVE-2021-43301?
Apply the recommended patches and updates provided by the software vendors to fix CVE-2021-43301.
Where can I find more information about CVE-2021-43301?
You can find more information about CVE-2021-43301 in the PJSIP security advisories and Debian LTS announcements.