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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:objectcomputing:micronaut:*:*:*:*:*:*:*:*

History

27 Jul 2021, 16:44

Type Values Removed Values Added
References (MISC) https://github.com/micronaut-projects/micronaut-core/commit/a0cfeb13bf1ef5d692d16d4a3b91b34b7456bb11 - (MISC) https://github.com/micronaut-projects/micronaut-core/commit/a0cfeb13bf1ef5d692d16d4a3b91b34b7456bb11 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-cjx7-399x-p2rj - (CONFIRM) https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-cjx7-399x-p2rj - Exploit, Patch, Third Party Advisory
CPE cpe:2.3:a:objectcomputing:micronaut:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
CWE CWE-22

16 Jul 2021, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-07-16 19:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-32769

Mitre link : CVE-2021-32769

CVE.ORG link : CVE-2021-32769


JSON object : View

Products Affected

objectcomputing

  • micronaut
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')