7.5
CWE
22
Advisory Published
Updated

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

First published: Fri Jul 16 2021(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Objectcomputing Micronaut<2.5.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this Micronaut vulnerability?

    The vulnerability ID for this Micronaut vulnerability is CVE-2021-32769.

  • What is Micronaut?

    Micronaut is a JVM-based, full stack Java framework designed for building JVM applications.

  • What is the severity of CVE-2021-32769?

    The severity of CVE-2021-32769 is high with a severity value of 7.5.

  • How does the path traversal vulnerability in Micronaut occur?

    The path traversal vulnerability in Micronaut occurs because it is possible to access any file from a filesystem using "/../../" in the URL.

  • How can I fix the path traversal vulnerability in Micronaut?

    To fix the path traversal vulnerability in Micronaut, you should update to version 2.5.9 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203