Command Injection Affecting eslint-fixer package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
2.68% (91st 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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ESLINTFIXER-1087438
  • published19 Mar 2021
  • disclosed19 Mar 2021
  • creditAdar Zandberg of Checkmarx SCA

Introduced: 19 Mar 2021

CVE-2021-26275  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for eslint-fixer.

Overview

eslint-fixer is a Promise based function to apply eslint --fix to given directory or files.

Affected versions of this package are vulnerable to Command Injection. The eslint-fixer package for Node.js allows command injection via shell metacharacters to the fix function.

NOTE: This package has been deprecated by the author.

CVSS Scores

version 3.1