Skip to content

Out-of-bounds Read in atob

Critical severity GitHub Reviewed Published Oct 9, 2018 to the GitHub Advisory Database • Updated Jun 22, 2023

Package

npm atob (npm)

Affected versions

< 2.1.0

Patched versions

2.1.0

Description

Versions of atob before 2.1.0 uninitialized Buffers when number is passed in input on Node.js 4.x and below.

Recommendation

Update to version 2.1.0 or later.

References

Published by the National Vulnerability Database May 29, 2018
Published to the GitHub Advisory Database Oct 9, 2018
Reviewed Jun 16, 2020
Last updated Jun 22, 2023

Severity

Critical
9.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weaknesses

CVE ID

CVE-2018-3745

GHSA ID

GHSA-8w4h-3cm3-2pm2

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.