CVE-2021-43795 json
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria
published 4y ago modified 4mo ago also GHSA-8fp4-rp6c-5gcv , EUVD-2021-2484
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.linecorp.armeria:armeria 1.13.4
- linecorp armeria 1.13.4
- github.com/line/armeria@e2697a5 commit
- github.com/line/armeria#3855 pull request
Is CVE-2021-43795 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.69% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.linecorp.armeria:armeria | >=1.12.0, <1.13.4 |
1.13.4 |
Affected products
- line armeria
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/line/armeria/pull/3855
web, third-party-advisory
-
github.com
/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284
web, patch, third-party-advisory
-
github.com
/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43795
advisory
-
github.com
/line/armeria
package
Sources
- CVE List CVE-2021-43795
- GitHub Advisory GHSA-8fp4-rp6c-5gcv
- NVD CVE-2021-43795
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.