{"id":"CVE-2021-33580","state":"PUBLISHED","title":"regex injection leading to DoS","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.","publishedAt":"2021-08-18T07:50:10.000Z","updatedAt":"2024-08-03T23:50:43.188Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Roller"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Roller","versions":[{"version":"Apache Roller","status":"affected","lessThan":"6.0.2","versionType":"custom"}]}],"references":["https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E","http://www.openwall.com/lists/oss-security/2021/08/18/1"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T19:48:36.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/33xxx/CVE-2021-33580.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-33580","state":"PUBLISHED","datePublished":"2021-08-18T07:50:10.000Z","dateUpdated":"2024-08-03T23:50:43.188Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-05-26T00:00:00.000Z"},"containers":{"cna":{"title":"regex injection leading to DoS","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Roller","versions":[{"version":"Apache Roller","status":"affected","lessThan":"6.0.2","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/18/1","name":"[oss-security] 20210817 CVE-2021-33580: Apache Roller: regex injection leading to DoS","tags":["mailing-list","x_refsource_MLIST"]}],"metrics":[{"other":{"content":{"other":"Low: This attack will only work if Banned-words Referrer processing is turned on in Roller and it is off-by-default."},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2021-08-18T08:06:23.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Roller would like to thank Ed Ra (https://github.com/edvraa) for reporting this."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"This problem has been fixed in Roller 6.0.2. If you are not able to upgrade then you can \"work around\" the problem.\n\nIf Banned-Words Referrer processing is enabled and you are concerned about this type of attack then disable it.\n\nIn the Roller properties, set this property site.bannedwordslist.enable.referrers=false"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-33580","STATE":"PUBLIC","TITLE":"regex injection leading to DoS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Roller","version":{"version_data":[{"version_affected":"<","version_name":"Apache Roller","version_value":"6.0.2"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Roller would like to thank Ed Ra (https://github.com/edvraa) for reporting this."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"Low: This attack will only work if Banned-words Referrer processing is turned on in Roller and it is off-by-default."}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E","refsource":"MISC","url":"https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E"},{"name":"[oss-security] 20210817 CVE-2021-33580: Apache Roller: regex injection leading to DoS","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2021/08/18/1"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"This problem has been fixed in Roller 6.0.2. If you are not able to upgrade then you can \"work around\" the problem.\n\nIf Banned-Words Referrer processing is enabled and you are concerned about this type of attack then disable it.\n\nIn the Roller properties, set this property site.bannedwordslist.enable.referrers=false"}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/18/1","name":"[oss-security] 20210817 CVE-2021-33580: Apache Roller: regex injection leading to DoS","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:50:43.188Z"}}]}}}