Advisory

GHSA-3c6g-pvg8-gqw2

Also known as: CVE-2020-7712

Summary

trentm/json vulnerable to command injection

Details

This affects the package json before 10.0.0. It is possible to inject arbritary commands using the parseLookup function.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-06 18:11 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

json

npm · All systems

Affected

  • introduced 0, fixed 10.0.0 (semver)

Fixed versions

10.0.0

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