CVEvulnerability
CVE-2021-43795
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-12-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• linecorp armeria (< 1.13.4)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284 Patch, Third Party Advisory
- https://github.com/line/armeria/pull/3855 Third Party Advisory
- https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv Third Party Advisory
- https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284 Patch, Third Party Advisory
- https://github.com/line/armeria/pull/3855 Third Party Advisory
- https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv Third Party Advisory