WaratekVRT Sign in

CVE-2021-43795 Armeria

Affected softwareArmeria
Severity7.5 High CVSS 3.1 2 scores
Fixed in1.13.4
WeaknessPath traversal (CWE-22)
Published2 Dec 2021
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.7% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284 : a commit: the change itself

How to mitigate CVE-2021-43795

Upgrade Armeria to 1.13.4 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N security-advisories@github.com Secondary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.linecorp.armeria:armeria 1.12.0 1.13.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.linecorp.armeria armeria generic ≥ 1.12.0 and < 1.13.4
nvd linecorp armeria generic < 1.13.4

References

URLTags
https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284 commit
https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv WEB
https://github.com/line/armeria/pull/3855 WEB
https://github.com/line/armeria PACKAGE

Timeline

Published2021-12-02By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.