Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.linecorp.armeria/armeria
  4. ›
  5. CVE-2021-43795

CVE-2021-43795: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

December 2, 2021 (updated December 3, 2021)

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.

References

  • github.com/advisories/GHSA-8fp4-rp6c-5gcv
  • github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284
  • github.com/line/armeria/pull/3855
  • github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv
  • nvd.nist.gov/vuln/detail/CVE-2021-43795

Code Behaviors & Features

Detect and mitigate CVE-2021-43795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.12.0 before 1.13.4

Fixed versions

  • 1.13.4

Solution

Upgrade to version 1.13.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/com.linecorp.armeria/armeria/CVE-2021-43795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.