Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 `` tags from the message being quoted. The `(.|\s)` part can match a space character in two ways, so an unterminated `` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2n 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32763
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:46 UTC · Revision 1

Source evidence

CVE-2021-32763

core-osv · Original source

Published 20 Jul 2021, 17:15 UTC

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 `` tags from the message being quoted. The `(.|\s)` part can match a space character in two ways, so an unterminated `` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2n 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.

osv:CVE-2021-32763
Complete source record
{
  "id": "e5ee7433b9bef4dad16253bb2cec651716ac0a3499e7048eea0b0ee5f6325bfd",
  "url": "https://osv.dev/vulnerability/CVE-2021-32763",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32763",
    "summary": "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 `` tags from the message being quoted. The `(.|\\s)` part can match a space character in two ways, so an unterminated `` tag containing `n` spaces causes Ruby's regex engine to backtrack to try 2n 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.",
    "evidence": "osv:CVE-2021-32763",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32763",
      "aliases": [
        "CVE-2021-32763",
        "GHSA-qqvp-j6gm-q56f"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opf/openproject",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4d9a133330792a06b58f080a21a5ef0575852cf5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "11.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v11.3.2",
            "v11.3.1",
            "v11.3.0",
            "v11.2.4",
            "v11.2.3",
            "v11.2.2",
            "v11.2.1",
            "v11.2.0",
            "v11.1.4",
            "v11.1.3",
            "v11.1.2",
            "v11.1.1",
            "v11.1.0",
            "v11.0.4",
            "v11.0.3",
            "v11.0.2",
            "v11.0.1",
            "v11.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32763.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:42.784937288Z",
      "provider": "osv",
      "references": [
        "https://github.com/opf/openproject/pull/9447.patch",
        "https://github.com/opf/openproject/security/advisories/GHSA-qqvp-j6gm-q56f"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32763",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385961,
  "published_at": "2021-07-20T17:15:07.813+00:00"
}