CVE-2021-32763

Regular Expression Denial of Service in OpenProject forum messages

MEDIUM
6.5
CVSS Score
Published: July 20, 2021 at 04:50 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
2 products affected across 2 vendorsOpenprojectOpenproject

Using openproject by opf?

Get instant alerts when new vulnerabilities affect openproject - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.9%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 11.3.3
Affected range stops below 11.3.3, so it looks safe — our inference, not a vendor statement
v < 11.3.3
Affected range stops below 11.3.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card