PT-2021-23941 · Armeria · Armeria

Abdallah Zaher

·

Published

2021-12-02

·

Updated

2021-12-06

·

CVE-2021-43795

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Armeria versions prior to 1.13.4
Description: 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.
Recommendations: For versions prior to 1.13.4, update to Armeria 1.13.4 or above, which contains the hardened path validation logic that handles %2F properly. As a temporary workaround, consider inserting a decorator that performs an additional validation on the request path, such as checking if the path contains %2f or %2F and returning a BAD REQUEST response if it does.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-43795
GHSA-8FP4-RP6C-5GCV

Affected Products

Armeria