CVE-2018-3745CWE-125

atob 2.0.3 and earlier allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below

published May 29, 2018

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

⚠️ A surprising flaw in atob 2.0.3! If you pass a number as input, it allocates uninitialized Buffers, which could spell trouble for your Node.js application! Think of it as a restaurant that serves dishes without checking the ingredients beforehand. You never know what you might get on your plate—delicious or disastrous! If an attacker cleverly manipulates the input, it could lead to unpredictable behavior or even crashes in your application. While it might not hijack your entire system, it creates a messy situation that can affect performance and reliability.

Put simply

Think of it as a restaurant that serves dishes without checking the ingredients beforehand. You never know what you might get on your plate—delicious or disastrous! This vulnerability arises from atob 2.0.3 and earlier versions on Node.js 4.x and below, where passing a number as input leads to the allocation of uninitialized Buffers, which can introduce instability.

What to do

If an attacker cleverly manipulates the input, it could lead to unpredictable behavior or even crashes in your application. While it might not hijack your entire system, it creates a messy situation that can affect performance and reliability. To protect your application, upgrade atob to version 2.0.4 or higher. Additionally, ensure input validation checks are in place to mitigate potential issues from unexpected data types. You've got this! Stay vigilant, apply the updates, and keep your application running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02141 · 81.8th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2018-05-29T20:00Z
EPSS history
Timeline
  • 29 MAY 20:00Z
    atob 2.0.3 and earlier allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below
    cvelistv5