{"api_version":"1","generated_at":"2026-07-24T00:33:12+00:00","cve":"CVE-2021-40693","urls":{"html":"https://cve.report/CVE-2021-40693","api":"https://cve.report/api/cve/CVE-2021-40693.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40693","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40693"},"summary":{"title":"CVE-2021-40693","description":"An authentication bypass risk was identified in the external database authentication functionality, due to a type juggling vulnerability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-09-29 03:15:00","updated_at":"2022-10-03 17:29:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40693","name":"https://www.cve.org/CVERecord?id=CVE-2021-40693","refsource":"MISC","tags":[],"title":"cve-website","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043417","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2043417","refsource":"MISC","tags":[],"title":"2043417 – (CVE-2021-40693) CVE-2021-40693 moodle: authentication bypass risk when using external database","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40693","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"40693","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"moodle","cpe5":"moodle","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-40693","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"An authentication bypass risk was identified in the external database authentication functionality, due to a type juggling vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"authentication bypass"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"moodle","version":{"version_data":[{"version_affected":"=","version_value":"3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versions"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043417","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2043417"}]}},"nvd":{"publishedDate":"2022-09-29 03:15:00","lastModifiedDate":"2022-10-03 17:29:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11.0","versionEndExcluding":"3.11.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10.0","versionEndExcluding":"3.10.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionEndExcluding":"3.9.10","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40693","Ordinal":"216445","Title":"CVE-2021-40693","CVE":"CVE-2021-40693","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40693","Ordinal":"1","NoteData":"An authentication bypass risk was identified in the external database authentication functionality, due to a type juggling vulnerability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40693","Ordinal":"2","NoteData":"2022-01-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40693","Ordinal":"3","NoteData":"2022-01-21","Type":"Other","Title":"Modified"}]}}}