{"schemaVersion":3,"id":"CVE-2021-43557","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-11-22T08:25:09.000Z","modified":"2024-08-04T04:03:07.927Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.1294,"percentile":0.96279,"severity":"medium","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.1294},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.12744,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1294,"percentile":0.96279}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1294,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1294,"percentile":0.96279}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_3BDCA6150AAD7BB6","name":"Exploit Reference (lists.apache.org)","source":"reference","url":"https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_299D2EAA94F55043","name":"Exploit Reference (openwall.com)","source":"reference","url":"http://www.openwall.com/lists/oss-security/2021/11/23/1","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"apache software foundation","product":"apache apisix","name":"Apache APISIX","label":"apache apisix","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.5, < Apache APISIX 1.5*","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.5, < Apache APISIX 1.5*","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_apisix"},{"vendor":"apache","product":"apisix","name":"APISIX","label":"apisix","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-apisix","label":"Apache APISIX","category":"server-app"}},"hubHref":"/vendor/apache/apisix"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h","label":"lists.apache.org/thread/18jyd458ptocr31rnkjs71w4h366mv7h","hostname":"lists.apache.org","tags":["X Refsource MISC","Exploit","Mailing List","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/22/1","label":"www.openwall.com/lists/oss-security/2021/11/22/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/22/2","label":"www.openwall.com/lists/oss-security/2021/11/22/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/23/1","label":"www.openwall.com/lists/oss-security/2021/11/23/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-11-22T08:25:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T04:03:07.927Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:34:01.623Z","stale":false,"partial":false}}