PT-2021-6171 · Pjsip+3 · Pjsip+3
The-Storm
·
Published
2021-12-22
·
Updated
2025-11-04
·
CVE-2021-43804
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
PJSIP versions prior to the fixed version
Description
The issue is related to a buffer overflow in the PJSIP library when handling the length of RTCP BYE messages. This can be exploited by a remote attacker to execute arbitrary code. The problem occurs when the incoming RTCP BYE message contains a reason's length that is not checked against the actual received packet size, potentially resulting in an out-of-bound read access. This affects all users of PJMEDIA and RTCP. A malicious actor can send a RTCP BYE message with an invalid reason length.
Recommendations
For PJSIP versions prior to the fixed version, upgrade to the latest version as soon as possible to resolve the issue.
As a temporary workaround, consider restricting the handling of RTCP BYE messages with invalid reason lengths until a patch is available.
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Pjsip
Ubuntu