Vulnerability · Published Mar 20, 2025 · Assigned by GitHub_M
CVE-2025-29914OWASP Coraza WAF has parser confusion which leads to wrong URI in `REQUEST_FILENAME`
Medium 5.4
In plain English
A medium-severity security flaw in coraza from corazawaf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/corazawaf/coraza | no fix listed | GO-2025-3537 |
| Go | github.com/corazawaf/coraza/v2 | no fix listed | GO-2025-3537 |
| Go | github.com/corazawaf/coraza/v3 | 3.3.3 | GHSA-q9f5-625g-xm39 |
| Go | github.com/corazawaf/coraza/v3 | 3.3.3 | GO-2025-3537 |
| Go | github.com/jptosso/coraza-waf | 3.3.3 | GHSA-q9f5-625g-xm39 |
| Go | github.com/jptosso/coraza-waf | no fix listed | GO-2025-3537 |
Affected products (as reported)
Weakness: CWE-706 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N