GHSA-57cf-349j-352g Out-of-bounds Read in npmconf
An out-of-bounds read in npmconf allows attackers to disclose uninitialized memory contents when processing typed numbers on Node.js 4.x.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-57cf-349j-352g?
GHSA-57cf-349j-352g is a vulnerability in npmconf, published on 12 Jun 2019.
Official 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.
Which versions are affected by GHSA-57cf-349j-352g?
2 open source packages ship an affected version, including npmconf.
| Package | Affected | Fixed in |
|---|---|---|
npmconf npm | All versions | 2.1.3 |
npmconf npm | All versions | 2.1.3 |
How do I fix GHSA-57cf-349j-352g?
Upgrade npmconf to 2.1.3 or later.
Is GHSA-57cf-349j-352g being exploited?
There is no known exploitation of GHSA-57cf-349j-352g in the wild and no public exploit code.