Home / Apache Software Foundation / Apache APISIX / CVE-2021-43557
CVE-2021-43557: is it exploited, and which versions of Apache Software Foundation Apache APISIX are affected and fixed?
CVE-2021-43557 is a command injection vulnerability in Apache Software Foundation Apache APISIX. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Apache APISIX from 1.5 through every Apache APISIX 1.5 version (CVE record by apache). Fixed in 2.10.2 (NVD). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 20:05 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-43557?
Path traversal in request_uri variable
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.
From the CVE record by apache, last updated August 4, 2024, 04:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache APISIX | from 1.5 through every Apache APISIX 1.5 version |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | apisix | before 2.10.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43557?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-43557 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 13.0% probability of exploitation activity in the next 30 days, percentile 96.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h x_refsource_MISC
- [oss-security] 20211122 CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable mailing-list, x_refsource_MLIST
- [oss-security] 20211122 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable mailing-list, x_refsource_MLIST
- [oss-security] 20211123 Re: CVE-2021-43557: Apache APISIX: Path traversal in request_uri variable mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- November 9, 2021
- Published
- November 22, 2021, 08:25 UTC
- CVE record updated
- August 4, 2024, 04:03 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 28, 2026, 20:05 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache APISIX?
- Feb 11, 2022CVE-2022-24112 Apache Software Foundation Apache APISIX: authentication bypass by spoofing exploited
- Nov 13, 2026CVE-2026-124679 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124716 Apache Software Foundation Apache APISIX: incorrect authorization
- Nov 13, 2026CVE-2026-124666 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124680 Apache Software Foundation Apache APISIX: interpretation Conflict
- Nov 13, 2026CVE-2026-124719 Apache Software Foundation Apache APISIX: authentication bypass by spoofing
- Nov 13, 2026CVE-2026-124723 Apache Software Foundation Apache APISIX: interpretation Conflict
- Nov 13, 2026CVE-2026-124726 Apache Software Foundation Apache APISIX: path traversal
Questions about CVE-2021-43557
Is CVE-2021-43557 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 13.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache APISIX are affected by CVE-2021-43557?
Apache APISIX from 1.5 through every Apache APISIX 1.5 version, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2021-43557?
2.10.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-43557?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43557?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.