CVE-2021-43557
mediumpriority · attend · 45EPSS 0.130 · 96 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- xvnpw/k8s-CVE-2021-43557-pocPoC for CVE-2021-43557PoC · poc_in_github
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-apisix-2021-43557Path traversal in request_uri variable2024-03-06vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2021/11/22/1cnnvd
- http://www.openwall.com/lists/oss-security/2021/11/22/2cnnvd
- http://www.openwall.com/lists/oss-security/2021/11/23/1cnnvd
- https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7hcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-43557cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021112611cnnvd
- http://www.openwall.com/lists/oss-security/2021/11/22/1enisa_euvd
- http://www.openwall.com/lists/oss-security/2021/11/22/2enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan