Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. npmconf
  4. ›
  5. GMS-2019-42

GMS-2019-42: Out-of-bounds Read in npmconf

June 12, 2019 (updated August 4, 2021)

Versions of npmconf allocate and write to disk uninitialized memory contents when a typed number is passed as input on Node.js Update to or later. Consider switching to another config storage mechanism, as npmconf is deprecated and should not be used.

References

  • github.com/advisories/GHSA-57cf-349j-352g
  • hackerone.com/reports/320269
  • nodesecurity.io/advisories/653
  • www.npmjs.com/advisories/653

Code Behaviors & Features

Detect and mitigate GMS-2019-42 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.3

Fixed versions

  • 2.1.3

Solution

Upgrade to version 2.1.3 or above.

Source file

npm/npmconf/GMS-2019-42.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.