{"id":"BIT-openproject-2021-32763","details":"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 `\u003cpre\u003e` tags from the message being quoted. The `(.|\\s)` part can match a space character in two ways, so an unterminated `\u003cpre\u003e` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2\u003csup\u003en\u003c/sup\u003e 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.","modified":"2026-03-13T04:57:14.025275192Z","published":"2024-03-06T11:00:32.386Z","withdrawn":"2026-03-13T04:51:12.407224Z","database_specific":{"cpes":["cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/opf/openproject/pull/9447.patch"},{"type":"WEB","url":"https://github.com/opf/openproject/security/advisories/GHSA-qqvp-j6gm-q56f"}],"affected":[{"package":{"name":"openproject","ecosystem":"Bitnami","purl":"pkg:bitnami/openproject"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"11.3.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/openproject/BIT-openproject-2021-32763.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.7.3"}