CVE-2020-7601 OS Command Injection in gulp-scss-lint
Attackers can execute arbitrary commands via the exec function in gulp-scss-lint, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7601?
CVE-2020-7601 is a critical command injection vulnerability in gulp-scss-lint, published on 15 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
gulp-scss-lint through 1.0.0 allows execution of arbitrary commands. It is possible to inject arbitrary commands to the "exec" function located in "src/command.js" via the provided options.
Weakness: CWE-78
Which versions are affected by CVE-2020-7601?
2 open source packages ship an affected version, including gulp-scss-lint. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gulp-scss-lint npm | All versions to 1.0.0 | None |
gulp-scss-lint npm | All versions to 1.0.0 | None |
Products include Gulp-Scss-Lint Project Gulp-Scss-Lint.
How do I fix CVE-2020-7601?
No fix has been published for CVE-2020-7601 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-7601 being exploited?
There is no known exploitation of CVE-2020-7601 in the wild and no public exploit code.
Sources
Also known as GHSA-g4hj-r7r3-9rwv, SNYK-JS-GULPSCSSLINT-560114.