{"answers":{"affected":"8 open source packages ship an affected version, including github.com/corazawaf/coraza/v3, github.com/corazawaf/coraza and github.com/corazawaf/coraza/v2.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29914 exists.","fix":"Upgrade github.com/corazawaf/coraza/v3 to 3.3.3 or later.","what":"CVE-2025-29914 is a medium-severity vulnerability in corazawaf coraza, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-29914 and fix it if it is affected.\n\nWhat it is: CVE-2025-29914 is a medium-severity vulnerability in corazawaf coraza, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29914 exists.\n\nAffected packages and fixed versions:\n- github.com/corazawaf/coraza/v3 (Go): affected all versions; fixed in 3.3.3\n- github.com/corazawaf/coraza/v3 (Go): affected all versions; fixed in 3.3.3\n- github.com/corazawaf/coraza/v3 (Go): affected all versions; fixed in 3.3.3\n- github.com/corazawaf/coraza (Go): affected all versions; no fix listed\n- github.com/corazawaf/coraza/v2 (Go): affected all versions; no fix listed\n- github.com/jptosso/coraza-waf (Go): affected all versions; no fix listed\n- github.com/jptosso/coraza-waf (Go): affected all versions; fixed in 3.3.3\n- github.com/jptosso/coraza-waf (Go): affected all versions; fixed in 3.3.3\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-2025-29914/ (Markdown: https://insights.sbomify.com/CVE-2025-29914/index.md)","id":"CVE-2025-29914","markdown":"https://insights.sbomify.com/CVE-2025-29914/index.md","name":"CVE-2025-29914","record":{"aliases":["GHSA-q9f5-625g-xm39","GO-2025-3537"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go WAF library","requires_auth":"none","summary":"Attackers can bypass WAF rules by crafting URIs with double slashes, causing incorrect filename parsing in OWASP Coraza.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"description":"OWASP Coraza WAF is a golang modsecurity compatible web application firewall library. Prior to 3.3.3, if a request is made on an URI starting with //, coraza will set a wrong value in REQUEST_FILENAME. For example, if the URI //bar/uploads/foo.php?a=b is passed to coraza: , REQUEST_FILENAME will be set to /uploads/foo.php. This can lead to a rules bypass. This vulnerability is fixed in 3.3.3.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OWASP Coraza WAF has parser confusion which leads to wrong URI in `REQUEST_FILENAME`","id":"CVE-2025-29914","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":8,"n_references":2,"next":{"headline":"Suricata af-packet: defrag option can lead to truncated packets affecting visibility","id":"CVE-2025-29915"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/corazawaf/coraza","purl":"pkg:golang/github.com/corazawaf/coraza","source":"GO-2025-3537"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/corazawaf/coraza/v2","purl":"pkg:golang/github.com/corazawaf/coraza/v2","source":"GO-2025-3537"},{"ecosystem":"Go","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/corazawaf/coraza/v3","purl":null,"source":"GHSA-q9f5-625g-xm39"},{"ecosystem":"Go","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","source":"GHSA-q9f5-625g-xm39"},{"ecosystem":"Go","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/corazawaf/coraza/v3","purl":"pkg:golang/github.com/corazawaf/coraza/v3","source":"GO-2025-3537"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/jptosso/coraza-waf","purl":"pkg:golang/github.com/jptosso/coraza-waf","source":"GO-2025-3537"},{"ecosystem":"Go","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/jptosso/coraza-waf","purl":null,"source":"GHSA-q9f5-625g-xm39"},{"ecosystem":"Go","fixed":["3.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/jptosso/coraza-waf","purl":"pkg:golang/github.com/jptosso/coraza-waf","source":"GHSA-q9f5-625g-xm39"}],"prev":{"headline":"CryptoLib's Crypto_TC_Prep_AAD Has Buffer Overflow Due to Integer Underflow","id":"CVE-2025-29913"},"products":["coraza"],"published":"2025-03-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["corazawaf"]},"summary":"Attackers can bypass WAF rules by crafting URIs with double slashes, causing incorrect filename parsing in OWASP Coraza.","url":"https://insights.sbomify.com/CVE-2025-29914/"}