CVE-2021-43795 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria
HighCVSS 7.5
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| com.linecorp.armeria/armeria(Maven) | = 1.12.0; = 1.13.0; = 1.13.1; = 1.13.2 +2 more | 1.13.4 | Fixed |
| linecorp armeria | < 1.13.4 | 1.13.4 | Fixed |
| line armeria | = < 1.13.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.linecorp.armeria/armeria(Maven) | >= 1.12.0, < 1.13.4 | 1.13.4 |
| com.linecorp.armeria/armeria(Maven) | = 1.12.0 | No fix listed |
| com.linecorp.armeria/armeria(Maven) | = 1.13.0 | No fix listed |
| com.linecorp.armeria/armeria(Maven) | = 1.13.1 | No fix listed |
| com.linecorp.armeria/armeria(Maven) | = 1.13.2 | No fix listed |
| com.linecorp.armeria/armeria(Maven) | = 1.13.3 | No fix listed |
| linecorp armeria | < 1.13.4 | 1.13.4 |
| line armeria | = < 1.13.4 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product