{ "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": [ { "refsource": "MISC", "url": "https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E", "name": "https://lists.apache.org/thread.html/r9d967d80af941717573e531db2c7353a90bfd0886e9b5d5d79f75506%40%3Cuser.roller.apache.org%3E" }, { "refsource": "MLIST", "name": "[oss-security] 20210817 CVE-2021-33580: Apache Roller: regex injection leading to DoS", "url": "http://www.openwall.com/lists/oss-security/2021/08/18/1" } ] }, "source": { "discovery": "UNKNOWN" }, "work_around": [ { "lang": "eng", "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" } ] }