Command Injection Affecting curling package, versions <1.1.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
26.83% (97th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-CURLING-546484
- published 5 Feb 2020
- disclosed 5 Feb 2020
- credit JHU System Security Lab
Introduced: 5 Feb 2020
CVE-2019-10789 Open this link in a new tabHow to fix?
Upgrade curling
to version 1.1.0 or higher.
Overview
curling is a node wrapper for curl with a very simple api.
Affected versions of this package are vulnerable to Command Injection via the run(command,cb)
function. The command
argument can be controlled by users without any sanitization.
PoC by JHU System Security Lab
var root = require("curling");
root.run("& touch JHU",function(){});