Vulnerabilities

1 via 9 paths

Dependencies

49

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: @typescript-eslint/utils@5.62.0, @typescript-eslint/type-utils@5.62.0 and others

Detailed paths

  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/parser@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/eslint-plugin@5.62.0 › @typescript-eslint/utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/eslint-plugin@5.62.0 › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › is-immutable-type@1.2.9 › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › @typescript-eslint/eslint-plugin@5.62.0 › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2
  • Introduced through: eslint-plugin-total-functions@danielnixon/eslint-plugin-total-functions › is-immutable-type@1.2.9 › @typescript-eslint/type-utils@5.62.0 › @typescript-eslint/utils@5.62.0 › @typescript-eslint/typescript-estree@5.62.0 › globby@11.1.0 › fast-glob@3.3.3 › micromatch@4.0.8 › picomatch@2.3.2

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