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

Not scored Published

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.

PackageAffectedFixed in
npmconf npmAll versions2.1.3
npmconf npmAll versions2.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.

Sources

Is GHSA-57cf-349j-352g in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free