Vulnerabilities

1 via 4 paths

Dependencies

48

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/parser@5.62.0 and @typescript-eslint/eslint-plugin@5.62.0

Detailed paths

  • Introduced through: eslint-plugin-adonis@adonisjs-community/eslint-plugin-adonis › @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-adonis@adonisjs-community/eslint-plugin-adonis › @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-adonis@adonisjs-community/eslint-plugin-adonis › @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-adonis@adonisjs-community/eslint-plugin-adonis › @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

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