CVE-2023-36665

"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878

published July 5, 2023

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

⚡ An attacker can modify core JavaScript functionality with just a protobuf message in protobuf.js versions 6.10.0 to 7.x before 7.2.5! 🔥 Think of this like a mischievous guest at a hotel who sneaks into the management office and changes the room service menu, allowing them to order anything they want—no questions asked! With prototype pollution, an attacker could introduce or overwrite critical properties and functions within the Object.prototype, potentially leading to unexpected behavior across applications that rely on this functionality. This could result in everything from data leaks to application crashes, leaving you and your users vulnerable.

Put simply

Think of this like a mischievous guest at a hotel who sneaks into the management office and changes the room service menu, allowing them to order anything they want—no questions asked! This vulnerability occurs when user-controlled protobuf messages are parsed or when untrusted input is processed by specific functions, enabling attackers to manipulate the Object.prototype and execute arbitrary code.

What to do

With prototype pollution, an attacker could introduce or overwrite critical properties and functions within the Object.prototype, potentially leading to unexpected behavior across applications that rely on this functionality. This could result in everything from data leaks to application crashes, leaving you and your users vulnerable. Upgrade protobuf.js to version 7.2.5 or later immediately to patch this vulnerability. Additionally, consider auditing your existing protobuf messages and ensuring you’re not parsing untrusted inputs without proper sanitization. You can tackle this! Follow the upgrade steps, and you’ll be one step closer to securing your application. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01697 · 77.0th percentile
Published
2023-07-05T00:00Z
EPSS history
Timeline
  • 05 JUL 00:00Z
    "protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878
    cvelistv5