Resource exhaustion in Openproject
CVE-2021-32763
OpenProject is open-source, web-based project management software. In versions prior to 11.3.3, the `MessagesController` class of OpenProject has a `quote` method that implements the logic behind the Quote button in the discussion forums, and it uses a regex to strip `<pre>` tags from the message being quoted. The `(.|\s)` part can match a space character in two ways, so an unterminated `<pre>` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2<sup>n</sup> states in the NFA. This will result in a Regular Expression Denial of Service. The issue is fixed in OpenProject 11.3.3. As a workaround, one may install the patch manually.
Vulnerability class: DoS (Denial of Service)
EPSS: 0.009 (56.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Openproject
- Opf Openproject — versions < 11.3.3
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-32763?
- CVE-2021-32763 is a medium-severity vulnerability in Openproject, classified under Uncontrolled Resource Consumption. CVSS score: 4.3/10. Published 2021-07-20.
- How severe is CVE-2021-32763?
- Medium severity. CVSS v3 base score is 4.3 out of 10.