Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. grunt
  4. ›
  5. CVE-2022-0436

CVE-2022-0436: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

April 12, 2022 (updated April 6, 2023)

Path Traversal in GitHub repository gruntjs/grunt prior to 1.5.2.

References

  • github.com/gruntjs/grunt/commit/aad3d4521c3098fb255fb2db8f2e1d691a033665
  • huntr.dev/bounties/f55315e9-9f6d-4dbb-8c40-bae50c1ae92b
  • nvd.nist.gov/vuln/detail/CVE-2022-0436

Code Behaviors & Features

Detect and mitigate CVE-2022-0436 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.2

Fixed versions

  • 1.5.2

Solution

Upgrade to version 1.5.2 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/grunt/CVE-2022-0436.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.