CVE-2021-43557
publishedPath traversal in request_uri variable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache APISIX1.5 to < Apache APISIX 1.5* | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache APISIX | 1.5 to < Apache APISIX 1.5* (affected · custom) | apache · cna |
Weaknesses
1- Use Nginx's $request_uri variable without verification
References
4- [oss-security] 20211122 CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable http://www.openwall.com/lists/oss-security/2021/11/22/1
- [oss-security] 20211122 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable http://www.openwall.com/lists/oss-security/2021/11/22/2
- [oss-security] 20211123 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable http://www.openwall.com/lists/oss-security/2021/11/23/1
- https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h
Provider assertions
2apache · cna
Path traversal in request_uri variable
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4a834aa65f4aa6a5f29a301442058fa3b3ecc5493436ced77eab44c74b54f3d9
- Ingested
- 23 Sep 2026, 07:56:29 UTC
- Source record
- Official CVE record