Vulnerabilities

2 via 2 paths

Dependencies

224

Source

GitHub

Commit

9e1e38d8

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

high severity
new

Uncontrolled resource consumption

  • Vulnerable module: braces
  • Introduced through: eslint-plugin-jest@24.1.3

Detailed paths

  • Introduced through: eslint-config-hfreire@hfreire/eslint-config-hfreire#9e1e38d82e8fc559ea8b4455d39c59e3922821e1 eslint-plugin-jest@24.1.3 @typescript-eslint/experimental-utils@4.33.0 @typescript-eslint/typescript-estree@4.33.0 globby@11.1.0 fast-glob@3.3.2 micromatch@4.0.5 braces@3.0.2

Overview

braces is a Bash-like brace expansion, implemented in JavaScript.

Affected versions of this package are vulnerable to Uncontrolled resource consumption due to failing to limit the number of characters it can handle, through the parse function. An attacker can cause the application to allocate excessive memory and potentially crash by sending imbalanced braces as input.

Remediation

There is no fixed version for braces.

References

high severity
new

Inefficient Regular Expression Complexity

  • Vulnerable module: micromatch
  • Introduced through: eslint-plugin-jest@24.1.3

Detailed paths

  • Introduced through: eslint-config-hfreire@hfreire/eslint-config-hfreire#9e1e38d82e8fc559ea8b4455d39c59e3922821e1 eslint-plugin-jest@24.1.3 @typescript-eslint/experimental-utils@4.33.0 @typescript-eslint/typescript-estree@4.33.0 globby@11.1.0 fast-glob@3.3.2 micromatch@4.0.5

Overview

Affected versions of this package are vulnerable to Inefficient Regular Expression Complexity due to the use of unsafe pattern configurations that allow greedy matching through the micromatch.braces() function. An attacker can cause the application to hang or slow down by passing a malicious payload that triggers extensive backtracking in regular expression processing.

Remediation

A fix was pushed into the master branch but not yet published.

References