CVE-2021-43557

published 22 Nov 2021 · updated 4 Aug 2024

Path traversal in request_uri variable

5.5MediumEPSS 13%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 13%. Fixed in Apache APISIX 1.5*.

The uri-block plugin in Apache APISIX before 2.10.2 uses $request_uri without verification. The $request_uri is the full original request URI without normalization. This makes it possible to construct a URI to bypass the block list on some occasions. For instance, when the block list contains "^/internal/", a URI like `//internal/` can be used to bypass it. Some other plugins also have the same issue. And it may affect the developer's custom plugin.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=1.5 <Apache APISIX 1.5*Apache APISIX 1.5*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-43557 severity on Zeptric[![CVE-2021-43557](https://zeptric.io/badge/cve/CVE-2021-43557.svg)](https://zeptric.io/cve/CVE-2021-43557)