Vulnerabilities

1 via 1 paths

Dependencies

40

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

Incorrect Regular Expression

  • Vulnerable module: picomatch
  • Introduced through: styled-components@5.3.11

Detailed paths

  • Introduced through: @jaredreisinger/react-crossword@JaredReisinger/react-crossword › styled-components@5.3.11 › babel-plugin-styled-components@2.4.0 › picomatch@4.0.7

Overview

Affected versions of this package are vulnerable to Incorrect Regular Expression via the globstar function in lib/parse.js, where globstar (**) patterns are compiled without the dotAll flag, causing the generated regular expression to use . which does not match line terminator characters. An attacker who controls file names, object keys, or archive entry names can embed newline characters in those names to evade **-based deny patterns, causing excluded resources to be included and exposed.

Remediation

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

References