{"id":"CVE-2021-33580","aliases":["CVE-2021-33580"],"related":[],"kind":"vulnerability","state":"published","title":"regex injection leading to DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Los controles de usuario \"request.getHeader(\"Referer\")\", \"request.getRequestURL()\" y \"request.getQueryString()\" son usados para construir y ejecutar una expresión regex. El atacante no tiene que usar un navegador y puede enviar un encabezado Referer especialmente diseñada mediante programación. Dado que el atacante controla la cadena y el patrón regex, puede causar un ReDoS mediante el retroceso catastrófico de regex en el lado del servidor. Este problema ha sido corregido en Roller versión 6.0.2.","source":"nvd"}],"published":"2021-08-18T07:50:10.000Z","modified":"2026-06-17T03:54:49.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache Roller","fixed":"6.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Roller","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.0.2"}],"vendor":"apache","product":"roller","cpe":"cpe:2.3:a:apache:roller:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E","tags":["mailing-list","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/18/1","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Apache Roller would like to thank Ed Ra (https://github.com/edvraa) for reporting this."],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33580","url":"https://www.cve.org/CVERecord?id=CVE-2021-33580","licence":"CVE Terms of Use","modified":"2024-08-03T23:50:43.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33580","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33580","licence":"Public domain","modified":"2026-06-17T03:54:49.400Z"}],"updatedAt":"2026-11-25T22:58:03.301Z","epss":{"score":0.03298,"percentile":0.88837,"date":"2026-12-01T12:00:22.000Z"}}