{"api_version":"1","generated_at":"2026-07-24T23:36:26+00:00","cve":"CVE-2021-40694","urls":{"html":"https://cve.report/CVE-2021-40694","api":"https://cve.report/api/cve/CVE-2021-40694.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40694","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40694"},"summary":{"title":"CVE-2021-40694","description":"Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-09-29 03:15:00","updated_at":"2022-10-03 14:39:00"},"problem_types":["CWE-116"],"metrics":[],"references":[{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40694","name":"https://www.cve.org/CVERecord?id=CVE-2021-40694","refsource":"MISC","tags":[],"title":"cve-website","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043421","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2043421","refsource":"MISC","tags":[],"title":"2043421 – (CVE-2021-40694) CVE-2021-40694 moodle: arbitrary file read by site administrators via LaTeX preamble","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40694","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"40694","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-40694","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"arbitrary file read"}]}]},"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=2043421","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2043421"}]}},"nvd":{"publishedDate":"2022-09-29 03:15:00","lastModifiedDate":"2022-10-03 14:39:00","problem_types":["CWE-116"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.2,"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":"40694","Ordinal":"216446","Title":"CVE-2021-40694","CVE":"CVE-2021-40694","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40694","Ordinal":"1","NoteData":"Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40694","Ordinal":"2","NoteData":"2022-01-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40694","Ordinal":"3","NoteData":"2022-01-21","Type":"Other","Title":"Modified"}]}}}