Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.micronaut/micronaut-http-server-netty
  4. ›
  5. CVE-2021-32769

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

July 26, 2021 (updated July 28, 2021)

Micronaut is a JVM-based, full stack Java framework designed for building JVM applications. A path traversal vulnerability exists in versions prior to 2.5.9. With a basic configuration, it is possible to access any file from a filesystem, using “/../../” in the URL. This occurs because Micronaut does not restrict file access to configured paths. The vulnerability is patched in version 2.5.9. As a workaround, do not use ** in mapping, use only *, which exposes only flat structure of a directory not allowing traversal. If using Linux, another workaround is to run micronaut in chroot.

References

  • github.com/advisories/GHSA-cjx7-399x-p2rj
  • github.com/micronaut-projects/micronaut-core/commit/a0cfeb13bf1ef5d692d16d4a3b91b34b7456bb11
  • github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-cjx7-399x-p2rj
  • nvd.nist.gov/vuln/detail/CVE-2021-32769

Code Behaviors & Features

Detect and mitigate CVE-2021-32769 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.5.9

Fixed versions

  • 2.5.9

Solution

Upgrade to version 2.5.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/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')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/io.micronaut/micronaut-http-server-netty/CVE-2021-32769.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:15 +0000.