CVE-2022-24786CWE-125CWE-787

Potential out-of-bound read/write in PJSIP

Critical · published April 6, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
81.1
In the wild
Unconfirmed
What it is

🚨 A sneaky oversight in PJSIP leaves apps vulnerable to mismanaged RTCP packets, opening the door wide for wicked exploits! 🔥 Imagine a restaurant that forgets to check if the ingredients are fresh before cooking — if they serve a bad dish, diners get sick. Here, apps using the `pjmedia_rtcp_fb_parse_rpsi()` function are like that restaurant, potentially serving corrupted data if they fail to handle incoming RTCP feedback properly. An attacker could manipulate the RTCP packets, leading to devastating consequences like unauthorized access to sensitive communication or even crashing the application altogether. It's a critical flaw that could compromise the integrity of multimedia communication and put users at risk.

Put simply

Imagine a restaurant that forgets to check if the ingredients are fresh before cooking — if they serve a bad dish, diners get sick. Here, apps using the `pjmedia_rtcp_fb_parse_rpsi()` function are like that restaurant, potentially serving corrupted data if they fail to handle incoming RTCP feedback properly. This vulnerability arises from PJSIP versions 2.12 and earlier not properly parsing incoming RTCP feedback RPSI packets. As such, any application using the vulnerable `pjmedia_rtcp_fb_parse_rpsi()` function could inadvertently process malicious data.

What to do

An attacker could manipulate the RTCP packets, leading to devastating consequences like unauthorized access to sensitive communication or even crashing the application altogether. It's a critical flaw that could compromise the integrity of multimedia communication and put users at risk. To mitigate this vulnerability, immediately update your PJSIP implementation to the latest version found in the `master` branch of the `pjsip/pjproject` GitHub repository. Since there are no known workarounds, patching is crucial to maintain security. You've got this! By taking these steps, you'll help secure your applications and keep communication channels safe! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02050 · 81.1th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-787 · Out-of-bounds Write
Published
2022-04-06T00:00Z
EPSS history
Timeline
  • 06 APR 00:00Z
    Potential out-of-bound read/write in PJSIP
    cvelistv5