SecurityContext

CVE-2021-43795: Armeria - Path Traversal

  • Cve: CVE-2021-43795
  • Name: Armeria - Path Traversal
  • 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.
  • Impact: Attackers can access arbitrary files outside the intended directory, potentially leading to sensitive data disclosure.
  • Remediation: Upgrade to version 1.13.4 or above, or implement an additional validation decorator on request paths.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01692
  • Epss percentile: 0.777
  • Assignee: [email protected]
  • Published at: 2021-12-02T18:15:08Z
  • Age in days: 1818
  • Modified at: 2026-06-17T04:11:27Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43795
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284Patch, Third Party Advisory
https://github.com/line/armeria/pull/3855Third Party Advisory
https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcvThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
linecorp:armeria< 1.13.4nonvd/v1/products/linecorp/armeria

Projects

RepositoryLink kindsIndexedUrl
line/armeriacommit, fix, package, pull, security_advisoryyes/v1/repositories/line/armeria

Index

  • Repositories: 2
  • Repositories high signal: 1
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts