{"api_version":"1","generated_at":"2026-04-22T21:39:30+00:00","cve":"CVE-2021-43795","urls":{"html":"https://cve.report/CVE-2021-43795","api":"https://cve.report/api/cve/CVE-2021-43795.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43795","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43795"},"summary":{"title":"CVE-2021-43795","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-02 18:15:00","updated_at":"2021-12-06 18:24:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284","name":"https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-8fp4-rp6c-5gcv · line/armeria@e2697a5 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/line/armeria/pull/3855","name":"https://github.com/line/armeria/pull/3855","refsource":"MISC","tags":[],"title":"Exclude `%2F(/)` from decoding of percents in a request path. by ikhoon · Pull Request #3855 · line/armeria · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv","name":"https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv","refsource":"CONFIRM","tags":[],"title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria · Advisory · line/armeria · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43795","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43795","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43795","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linecorp","cpe5":"armeria","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43795","STATE":"PUBLIC","TITLE":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"armeria","version":{"version_data":[{"version_value":"< 1.13.4"}]}}]},"vendor_name":"line"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv","refsource":"CONFIRM","url":"https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv"},{"name":"https://github.com/line/armeria/pull/3855","refsource":"MISC","url":"https://github.com/line/armeria/pull/3855"},{"name":"https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284","refsource":"MISC","url":"https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284"}]},"source":{"advisory":"GHSA-8fp4-rp6c-5gcv","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-02 18:15:00","lastModifiedDate":"2021-12-06 18:24:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linecorp:armeria:*:*:*:*:*:*:*:*","versionEndExcluding":"1.13.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43795","Ordinal":"221309","Title":"CVE-2021-43795","CVE":"CVE-2021-43795","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43795","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}