{"id":"CVE-2021-43795","published":"2021-12-02T18:00:11Z","modified":"2024-08-04T04:03:08Z","title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria","vendor":"line","product":"armeria","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01692,"percentile":0.77669,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/line/armeria/pull/3855","tags":["x_refsource_MISC"]},{"url":"https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284","tags":["x_refsource_MISC"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.53},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"line","affectedVersions":[{"vendor":"line","product":"armeria","versions":["< 1.13.4"]}],"affected":[{"ecosystem":"Maven","package":"com.linecorp.armeria:armeria","vulnerableRanges":[">=1.12.0, <1.13.4"],"patched":["1.13.4"],"from":["GHSA-8fp4-rp6c-5gcv"],"provenance":"source"}],"summary":{"text":"The path traversal flaw lies in the Armeria Java microservice framework (com.linecorp.armeria:armeria, from LINE), where its path validation logic can be bypassed by encoding a slash in the request path. An unauthenticated remote attacker who can send HTTP requests to an affected server can use an encoded %2F in the path (for example /files/..%2Fsecrets.txt) to read files outside the intended restricted directory, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:41Z"},"euvd":{"id":"EUVD-2021-2484","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-16771","published":"2019-12-06","fixed":"0.97.0","kev":false},{"cve":"CVE-2021-43795","published":"2021-12-02","fixed":"1.13.4","kev":false},{"cve":"CVE-2023-38493","published":"2023-07-25","fixed":"1.24.3","kev":false,"link":{"from":"CVE-2021-43795","to":"CVE-2023-38493","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.linecorp.armeria:armeria","fromFixed":"1.13.4","toFixed":"1.24.3","daysApart":600}]}}],"package":"Maven:com.linecorp.armeria:armeria"}}