Path Traversal in Line Armeria
CVE-2021-43795
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.016 (73.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Line Armeria — versions < 1.13.4
- Linecorp Armeria
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-43795?
- CVE-2021-43795 is a high-severity vulnerability in Line Armeria, classified under Path Traversal. CVSS score: 7.5/10. Published 2021-12-02.
- How severe is CVE-2021-43795?
- High severity. CVSS v3 base score is 7.5 out of 10.