Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20283

The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20283
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:51 UTC · Revision 1

Source evidence

CVE-2021-20283

core-osv · Original source

Published 15 Mar 2021, 22:15 UTC

The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.

osv:CVE-2021-20283
Complete source record
{
  "id": "16e91dc96b794a98c8a8933270a1dcdcbf171ace440cd7ac958f92a886c39104",
  "url": "https://osv.dev/vulnerability/CVE-2021-20283",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20283",
    "summary": "The web service responsible for fetching other users' enrolled courses did not validate that the requesting user had permission to view that information in each course in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.",
    "evidence": "osv:CVE-2021-20283",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20283",
      "aliases": [
        "BIT-moodle-2021-20283",
        "CVE-2021-20283",
        "GHSA-2m72-m5cw-3g9h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moodle/moodle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "46574904afd39578fa4146bf1fc5c401ac680aa6"
                },
                {
                  "fixed": "5a1b6a9d50f5af06ac03fd9022c3fd4d23f60602"
                },
                {
                  "introduced": "f968cd44e8ee5d54b1bc56823040ff770dbf18af"
                },
                {
                  "fixed": "6f7e3ca2f7e853a183559cfb6d10fa0eb8fc6877"
                },
                {
                  "introduced": "500c131eb49771e36f68d151dfa37fef5a9bc2df"
                },
                {
                  "fixed": "02a2e649e92d570c7fa735bf05f69b588036f761"
                },
                {
                  "introduced": "ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"
                },
                {
                  "fixed": "15f3dddd042a3af82120df91e835c75bf840d2e1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.5.0"
                      },
                      {
                        "fixed": "3.5.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.8.0"
                      },
                      {
                        "fixed": "3.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "3.9.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.10.0"
                      },
                      {
                        "fixed": "3.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.5.16",
            "v3.8.7",
            "v3.10.1",
            "v3.9.4",
            "v3.9.3",
            "v3.5.15",
            "v3.8.6",
            "v3.10.0",
            "v3.9.2",
            "v3.8.5",
            "v3.5.14",
            "v3.5.13",
            "v3.8.4",
            "v3.9.1",
            "v3.9.0",
            "v3.8.3",
            "v3.5.12",
            "v3.8.2",
            "v3.5.11",
            "v3.5.10",
            "v3.8.1",
            "v3.8.0",
            "v3.5.9",
            "v3.5.8",
            "v3.5.7",
            "v3.5.6",
            "v3.5.5",
            "v3.5.4",
            "v3.5.3",
            "v3.5.2",
            "v3.5.1",
            "v3.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20283.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:33.597165219Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MS/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMT/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1939051",
        "https://moodle.org/mod/forum/discuss.php?d=419654"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "32"
                  },
                  {
                    "last_affected": "32"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-20283",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433316,
  "published_at": "2021-03-15T22:15:13.373+00:00"
}