{"answers":{"affected":"1 open source package ship an affected version, including apisix. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43557 in the wild and no public exploit code.","fix":"Upgrade apisix to 2.10.2 or later.","what":"CVE-2021-43557 is a high-severity path traversal vulnerability in Apache APISIX, published on 22 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43557 and fix it if it is affected.\n\nWhat it is: CVE-2021-43557 is a high-severity path traversal vulnerability in Apache APISIX, published on 22 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-43557 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- apisix (Bitnami): affected all versions; fixed in 2.10.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-43557/ (Markdown: https://insights.sbomify.com/CVE-2021-43557/index.md)","id":"CVE-2021-43557","markdown":"https://insights.sbomify.com/CVE-2021-43557/index.md","name":"CVE-2021-43557","record":{"aliases":["BIT-apisix-2021-43557","GHSA-9wxc-375c-cvq2"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"API Gateway","requires_auth":"none","summary":"Attackers can bypass URI block lists in Apache APISIX by using unnormalized request URIs, potentially accessing restricted internal endpoints.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"apisix","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2021-11-22","github_poc":1,"max_poc_stars":23,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-11-22T20:23:05Z","kind":"github_poc","ref":"https://github.com/xvnpw/k8s-CVE-2021-43557-poc","stars":23,"title":"PoC for CVE-2021-43557"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path traversal in request_uri variable","id":"CVE-2021-43557","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":1,"n_references":4,"next":{"headline":"Cross-site Scripting in moodle","id":"CVE-2021-43558"},"packages":[{"ecosystem":"Bitnami","fixed":["2.10.2"],"introduced":["0"],"last_affected":[],"package":"apisix","purl":"pkg:bitnami/apisix","source":"BIT-apisix-2021-43557"}],"prev":{"headline":"FATEK Automation WinProladder","id":"CVE-2021-43556"},"products":["Apache APISIX"],"published":"2021-11-22","related":[{"cvss_score":9.8,"headline":"Apache APISIX Authentication Bypass","id":"CVE-2022-24112","kev_date_added":"2022-08-25","published":"2022-02-11"},{"cvss_score":9.8,"headline":"Apache APISIX: the body_schema check in request-validation plugin can be bypassed","id":"CVE-2022-25757","kev_date_added":null,"published":"2022-03-28"},{"cvss_score":9.1,"headline":"Apache APISIX: forward auth plugin allows header injection","id":"CVE-2026-31908","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":8.7,"headline":"Apache APISIX: Unauthenticated CPU-exhaustion DoS","id":"CVE-2026-75005","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":7.8,"headline":"Privilege escalation in Apache APISIX Java Plugin Runner","id":"CVE-2025-27446","kev_date_added":null,"published":"2025-07-06"},{"cvss_score":7.5,"headline":"Apache APISIX: Openid-connect `tls_verify` field is disabled by default","id":"CVE-2026-31923","kev_date_added":null,"published":"2026-04-14"},{"cvss_score":7.5,"headline":"Apache APISIX: basic-auth logs plaintext credentials at info level","id":"CVE-2025-62232","kev_date_added":null,"published":"2025-10-31"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"Attackers can bypass URI block lists in Apache APISIX by using unnormalized request URIs, potentially accessing restricted internal endpoints.","url":"https://insights.sbomify.com/CVE-2021-43557/"}