7.5
CWE
22
Advisory Published
Updated

CVE-2021-43795: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria

First published: Thu Dec 02 2021(Updated: )

Armeria is an open source microservice framework. In affected versions an attacker can access an Armeria server's local file system beyond its restricted directory by sending an HTTP request whose path contains `%2F` (encoded `/`), such as `/files/..%2Fsecrets.txt`, bypassing Armeria's path validation logic. Armeria 1.13.4 or above contains the hardened path validation logic that handles `%2F` properly. This vulnerability can be worked around by inserting a decorator that performs an additional validation on the request path.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Linecorp Armeria<1.13.4

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 Armeria?

    Armeria is an open source microservice framework.

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2021-43795.

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

    The severity of CVE-2021-43795 is high.

  • How does CVE-2021-43795 impact Armeria servers?

    CVE-2021-43795 allows an attacker to access an Armeria server's local file system beyond its restricted directory.

  • How can an attacker exploit CVE-2021-43795?

    An attacker can exploit CVE-2021-43795 by sending an HTTP request with a path that contains `%2F` (encoded `/`).

  • What is the recommended solution for CVE-2021-43795?

    Update Armeria to version 1.13.4 or later to fix CVE-2021-43795.

  • Where can I find more information about CVE-2021-43795?

    You can find more information about CVE-2021-43795 at the following links: [link1], [link2], [link3].

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