{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.1.10"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.7"
              },
              {
                "introduced": "4.3.0"
              },
              {
                "fixed": "4.3.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e8d03fdae4ec30a40cdc535c8e9e95f30604ec10"
            },
            {
              "introduced": "ae4efa96ee8169a848c141ad21690165ea791552"
            },
            {
              "fixed": "6a1fcb30506343b7b4866b489c90843f5d453187"
            },
            {
              "introduced": "fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"
            },
            {
              "fixed": "143c2cd5bef1268751d58bbfc6c66c1d93cb9797"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "fedora",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33996.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.0"
          },
          {
            "last_affected": "4.3.3"
          },
          {
            "introduced": "4.2"
          },
          {
            "last_affected": "4.2.6"
          },
          {
            "introduced": "4.1"
          },
          {
            "last_affected": "4.1.9"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Incorrect validation of allowed event types in a calendar web service made it possible for some users to create events with types/audiences they did not have permission to publish to.",
  "id": "CVE-2024-33996",
  "modified": "2026-07-08T05:38:21.776023872Z",
  "published": "2024-05-31T19:29:07.256Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://moodle.org/mod/forum/discuss.php?d=458384#p1840909"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33996.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-33996"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "moodle: broken access control when setting calendar event type"
}