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.
Remediation
References
https://github.com/line/armeria/pull/3855
https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284
https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv
Related Vulnerabilities
CVE-2023-40787 Vulnerability in maven package org.springblade:blade-core-tool
CVE-2022-21810 Vulnerability in npm package smartctl
CVE-2022-36916 Vulnerability in maven package org.jenkins-ci.plugins:google-cloud-backup
CVE-2018-18854 Vulnerability in maven package io.spray:spray-json_2.10
CVE-2017-16037 Vulnerability in npm package gomeplus-h5-proxy