# CVE-2021-43557: Path traversal in request_uri variable

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 13.0%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-11-22T08:25:09.000Z
- Modified: 2026-09-08T08:45:32.645Z
- Also known as: BIT-APISIX-2021-43557
- Weaknesses: CWE-77
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache APISIX: from 1.5 before Apache APISIX 1.5*
- apache apisix: before 2.10.2
- apisix (Bitnami): before 2.10.2

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h> (exploit, advisory, mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/11/23/1> (exploit, advisory, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/11/22/1> (advisory, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/11/22/2> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43557> (web)

## Sources

- CVE List: [CVE-2021-43557](https://www.cve.org/CVERecord?id=CVE-2021-43557), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43557](https://nvd.nist.gov/vuln/detail/CVE-2021-43557), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-APISIX-2021-43557](https://osv.dev/vulnerability/BIT-APISIX-2021-43557), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-43557 · Whole record: https://cve.day/CVE-2021-43557.json · Rebuilt by cve.day 2026-11-25T22:24:36.069Z
