CVE-2021-43557
Path traversal in request_uri variable
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-77
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | apisix | <2.10.2 | 2.10.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/11/22/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/11/22/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/11/23/1
- lists.apache.org https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-43557
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.