CVE-2021-43795: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria
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.
Affected Software
Remediation
Event History
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].