CVE-2022-40314

Source
https://cve.org/CVERecord?id=CVE-2022-40314
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40314.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-40314
Aliases
Downstream
Published
2022-09-30T16:29:22Z
Modified
2026-08-12T03:30:23Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.

Database specific
{
    "cna_assigner":  "fedora",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40314.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"
                },
                {
                    "last_affected":  "4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/moodle/moodle

Affected ranges

Type
GIT
Repo
https://github.com/moodle/moodle
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.9"
        },
        {
            "fixed":  "3.9.17"
        },
        {
            "introduced":  "3.11"
        },
        {
            "fixed":  "3.11.10"
        },
        {
            "introduced":  "4.0"
        },
        {
            "fixed":  "4.0.4"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v3.*
v3.11.0
v3.11.1
v3.11.2
v3.11.3
v3.11.4
v3.11.5
v3.11.6
v3.11.7
v3.11.8
v3.11.9
v3.9.0
v3.9.1
v3.9.10
v3.9.11
v3.9.12
v3.9.13
v3.9.14
v3.9.15
v3.9.16
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6
v3.9.7
v3.9.8
v3.9.9
v4.*
v4.0.0
v4.0.1
v4.0.2
v4.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40314.json"