Path Traversal in Micronaut-Projects Micronaut-Core

CVE-2021-32769

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.017 (76.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-32769?
CVE-2021-32769 is a high-severity vulnerability in Micronaut-Projects Micronaut-Core, classified under Path Traversal. CVSS score: 7.5/10. Published 2021-07-16.
How severe is CVE-2021-32769?
High severity. CVSS v3 base score is 7.5 out of 10.