# GHSA-57cf-349j-352g: Out-of-bounds Read in npmconf

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-12T16:37:00.000Z
- Modified: 2020-08-31T18:31:27.000Z
- Weaknesses: CWE-125

## Description

Versions of `npmconf` before 2.1.3 allocate and write to disk uninitialized memory contents when a typed number is passed as input on Node.js 4.x.


## Recommendation

Update to version 2.1.3 or later. Consider switching to another config storage mechanism, as npmconf is deprecated and should not be used.

(As written by GitHub Advisory Database.)

## Affected

- npmconf (npm): before 2.1.3

## References

- <https://hackerone.com/reports/320269> (web)
- <https://www.npmjs.com/advisories/653> (web)

## Sources

- GitHub Advisory Database: [GHSA-57cf-349j-352g](https://github.com/advisories/GHSA-57cf-349j-352g), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-57cf-349j-352g · Whole record: https://cve.day/GHSA-57cf-349j-352g.json · Rebuilt by cve.day 2026-11-25T22:56:44.136Z
