CVE-2021-43804 Out-of-bounds read when parsing RTCP BYE message in PJSIP
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In affected versions if the incoming RTCP BYE message contains a reason's length, this declared length is not checked against the actual received packet size, potentially resulting in an out-of-bound read access. This issue affects all users that use PJMEDIA and RTCP. A malicious actor can send a RTCP BYE message with an invalid reason length. Users are advised to upgrade as soon as possible. There are no known workarounds.
Upgrade path
17 packages: 13 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pjproject(Ubuntu Pro 16.04) | = 2.1.0.0.ast20130823-1; = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1; = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| ubuntu/pjproject(Ubuntu Pro 18.04) | = 2.6~dfsg-2; = 2.7.1~dfsg-1; = 2.7.1~dfsg-1build1; = 2.7.2~dfsg-1 +3 more | No fix listed | No fix yet |
| alpine/pjproject(Alpine v3.16) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.17) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.18) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.19) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.20) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.21) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.22) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.23) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.24) | < 2.12-r0 | 2.12-r0 | Fixed |
| debian/ring(Debian 12) | < 20230206.0~ds1-1 | 20230206.0~ds1-1 | Fixed |
| teluu pjsip | <= 2.11.1 | after 2.11.1 | Fixed |
| ubuntu/ring(Ubuntu 20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1; = 20190215.1.f152c98~ds1-1; = 20190215.1.f152c98~ds1-1build1; = 20190215.1.f152c98~ds1-1build2 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | Fixed |
| ubuntu/ring(Ubuntu Pro 18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1; = 20170803.2.5fcfe3f~dfsg1-1; = 20171024.1.eadbdeb~ds1-1; = 20171129.2.cf5bbff~ds1-1 +6 more | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | Fixed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
| pjsip pjproject | = <= 2.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| teluu pjsip | <= 2.11.1 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| alpine/pjproject(Alpine:v3.16) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.17) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.18) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.19) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.20) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.21) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.22) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.23) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.24) | < 2.12-r0 | 2.12-r0 |
| pjsip pjproject | = <= 2.11.1 | No fix listed |
| debian/ring(Debian:12) | < 20230206.0~ds1-1 | 20230206.0~ds1-1 |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.6~dfsg-2 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1build1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1ubuntu0.1~esm1 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ring(Ubuntu:Pro:18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20170803.2.5fcfe3f~dfsg1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171024.1.eadbdeb~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-3 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180222.1.7bffde2~ds2-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build2 | No fix listed |
References
- Debian Security Tracker CVE-2021-43804 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update mailing-list third-party-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list third-party-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update mailing-list
- GLSA-202210-37 third-party-advisory vendor-advisory
- DSA-5285 third-party-advisory vendor-advisory
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking