# CVE-2021-33580: regex injection leading to DoS

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.30%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-08-18T07:50:10.000Z
- Modified: 2026-06-17T03:54:49.400Z
- Weaknesses: CWE-400
- Assigned by: apache

## Description

User controlled `request.getHeader("Referer")`, `request.getRequestURL()` and `request.getQueryString()` are used to build and run a regex expression. The attacker doesn't have to use a browser and may send a specially crafted Referer header programmatically. Since the attacker controls the string and the regex pattern he may cause a ReDoS by regex catastrophic backtracking on the server side. This problem has been fixed in Roller 6.0.2.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Roller: from Apache Roller before 6.0.2
- apache roller: before 6.0.2

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/08/18/1> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-33580](https://www.cve.org/CVERecord?id=CVE-2021-33580), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-33580](https://nvd.nist.gov/vuln/detail/CVE-2021-33580), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33580 · Whole record: https://cve.day/CVE-2021-33580.json · Rebuilt by cve.day 2026-11-25T22:58:03.301Z
