High severityNVD Advisory· Published Dec 2, 2021· Updated Aug 4, 2024
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria
CVE-2021-43795
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.linecorp.armeria:armeriaMaven | >= 1.12.0, < 1.13.4 | 1.13.4 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-8fp4-rp6c-5gcvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43795ghsaADVISORY
- github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284ghsax_refsource_MISCWEB
- github.com/line/armeria/pull/3855ghsax_refsource_MISCWEB
- github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.