CVE-2021-43557Path traversal in request_uri variable
- 7.5HighCVSS base score
- 13.0%Exploitation in 30 daysEPSS · top 3.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By apache
- 13 days later
· 13 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 13.0% · top 3.6% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache APISIX
- affected 1.5 – < Apache APISIX 1.5*
What to do
Workaround: 1. Upgrade to APISIX 2.10.2, or apply this commit which provides a normalized $request_uri: https://github.com/apache/apisix/commit/9fc38330e82ce46e2aaabceef7d61708c91782db 2. Carefully review custom code, find & fix the usage of $request_uri without verification.
References
References4
- https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20211122 CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20211122 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20211123 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-30486 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-43557)Record last updated .