7.3high
Out-of-bounds read when parsing RTCP BYE message in PJSIP
- Severity
- 7.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.29% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pjsip pjproject | <= 2.11.1 | CVE List |
| teluu pjsip | up to 2.11.1 | NVD |
| debian debian_linux | 9.0, 10.0 | NVD |
All scores
| GitHub_M | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
PJSIP es una biblioteca de comunicación multimedia gratuita y de código abierto escrita en lenguaje C que implementa protocolos basados en estándares como SIP, SDP, RTP, STUN, TURN e ICE. En las versiones afectadas, si el mensaje RTCP BYE entrante contiene la longitud de un motivo, esta longitud declarada no es comprobado con el tamaño real del paquete recibido, resultando potencialmente en un acceso de lectura fuera de límites. Este problema afecta a todos los usuarios que usan PJMEDIA y RTCP. Un actor malicioso puede enviar un mensaje RTCP BYE con una longitud de razón no válida. Se aconseja a usuarios que actualicen lo antes posible. No se presentan soluciones conocidas
References
| https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9 | patch, third-party-advisory | |
| https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e | patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202210-37 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html | mailing-list, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5285 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html | mailing-list | |
| https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43804 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2021-43804 changed 2026-06-17 | Public domain |