PT-2021-19912 · Unknown · Openproject
Oliverguenther
·
Published
2021-07-20
·
Updated
2024-03-06
·
CVE-2021-32763
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
OpenProject versions prior to 11.3.3
Description
The issue concerns the
MessagesController class in OpenProject, specifically the quote method, which is used for the Quote button in discussion forums. This method uses a regex to remove <pre> tags from quoted messages. However, the regex can be exploited to cause a Regular Expression Denial of Service due to its backtracking behavior when encountering an unterminated <pre> tag with a large number of spaces.Recommendations
For versions prior to 11.3.3, update to OpenProject 11.3.3 to resolve the issue.
As a temporary workaround, one may install the patch manually.
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openproject