Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. curling
  4. ›
  5. CVE-2019-10789

CVE-2019-10789: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

April 13, 2021

All versions of curling.js are vulnerable to Command Injection via the run function. The command argument can be controlled by users without any sanitization.

References

  • github.com/advisories/GHSA-xmxh-g7wj-8m4m
  • github.com/hgarcia/curling/blob/e861d625c074679a2931bcf4ce8da0afa8162c53/lib/curl-transport.js
  • nvd.nist.gov/vuln/detail/CVE-2019-10789
  • snyk.io/vuln/SNYK-JS-CURLING-546484

Code Behaviors & Features

Detect and mitigate CVE-2019-10789 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 up to 1.0.0

Fixed versions

  • 1.1.0

Solution

Upgrade to version 1.1.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/curling/CVE-2019-10789.yml

Spotted a mistake? Edit the file on GitLab.

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

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