CVE-2023-50044

Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string

published December 20, 2023

CVSS
—
EPSS
1%
Percentile
58.1
In the wild
Unconfirmed
What it is

⚠️ An unexpected out-of-bounds read is hiding in Cesanta MJS 2.20.0, triggered by a sneaky substring of a Built-in API name! This is like a waiter mistakenly taking an order meant for one table and delivering it to another — if the waiter doesn’t check carefully, you could end up with a completely wrong dish at your table! In this case, an attacker might exploit the out-of-bounds read to access memory that they shouldn't, potentially leading to data leakage or crashes. It's not a full-blown breach, but it could certainly serve up some unwanted surprises!

Put simply

This is like a waiter mistakenly taking an order meant for one table and delivering it to another — if the waiter doesn’t check carefully, you could end up with a completely wrong dish at your table! CVE-2023-50044 involves a flaw in the Cesanta MJS where a Built-in API name can cause an out-of-bounds read when it appears as a substring in an input string, compromising memory safety.

What to do

In this case, an attacker might exploit the out-of-bounds read to access memory that they shouldn't, potentially leading to data leakage or crashes. It's not a full-blown breach, but it could certainly serve up some unwanted surprises! Although there's no immediate exploit, it's wise to update Cesanta MJS to the latest version to mitigate any potential risks. Additionally, review any input validation practices to ensure they're robust against such cases in the future. You’ve got this! Keep your code safe and sound, and you’ll be a security hero in no time! 🦸

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00860 · 58.1th percentile
Published
2023-12-20T00:00Z
EPSS history
Timeline
  • 20 DEC 00:00Z
    Cesanta MJS 2.20.0 has a getprop_builtin_foreign out-of-bounds read if a Built-in API name occurs in a substring of an input string
    cvelistv5