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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.017 (76.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.017 · change: +0.001
Affected products
- Line Armeria — versions < 1.13.4
- Linecorp Armeria
Weakness classification (CWE)
References
- github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv (Third Party Advisory)
- github.com/line/armeria/pull/3855 (Third Party Advisory)
- github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284 (Patch, Third Party Advisory)
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.