CVE-2021-43302CWE-125

Read out-of-bounds in PJSUA API when calling pjsua_recorder_create

published February 16, 2022

CVSS
—
EPSS
2%
Percentile
82.2
In the wild
Unconfirmed
What it is

⚠️ A tiny filename could lead to big trouble! When calling `pjsua_recorder_create`, a filename shorter than 4 characters can trigger an out-of-bounds read. 😱 Think of it as a restaurant order where you only write down half the dish — the chefs will scramble to interpret your intent, potentially causing chaos. Here, an attacker can manipulate the filename and make the application stumble over its own code. An attacker could exploit this vulnerability to read memory locations they shouldn't, which could lead to revealing sensitive information or causing instability in the application. Essentially, this gives them a peek behind the curtain without an invitation, which is absolutely not cool!

Put simply

Think of it as a restaurant order where you only write down half the dish — the chefs will scramble to interpret your intent, potentially causing chaos. Here, an attacker can manipulate the filename and make the application stumble over its own code. This vulnerability in the PJSUA API allows an out-of-bounds read when the 'filename' parameter is less than 4 characters long, potentially letting attackers access unintended memory areas.

What to do

An attacker could exploit this vulnerability to read memory locations they shouldn't, which could lead to revealing sensitive information or causing instability in the application. Essentially, this gives them a peek behind the curtain without an invitation, which is absolutely not cool! To protect yourself, ensure you're using a validated and updated version of the PJSUA library. Implement checks for the filename length before passing it to `pjsua_recorder_create`, and sanitize inputs to avoid malicious manipulation. You've got this! Fixing this is straightforward, and you'll be helping keep your application secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02179 · 82.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2022-02-16T00:00Z
EPSS history
Timeline
  • 16 FEB 00:00Z
    Read out-of-bounds in PJSUA API when calling pjsua_recorder_create
    cvelistv5