Advisory

GHSA-57cf-349j-352g

Also known as: None

Summary

Out-of-bounds Read in npmconf

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-06-12 16:37 UTC
Modified
2020-08-31 18:31 UTC

Affected packages and fixes

npmconf

npm · All systems

Affected

  • introduced 0, fixed 2.1.3 (semver)

Fixed versions

2.1.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences