CVE-2021-33580
JSON

7.5high

regex injection leading to DoS

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
3.30% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Rollerfrom Apache Roller before 6.0.2CVE List
apache rollerbefore 6.0.2NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-33580 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-33580 changed 2026-06-17Public domain