CVE-2024-25978 Msa-24-0001: denial of service risk in file picker unzip functionality

High 7.5 Published Updated

Attackers can cause denial of service in Moodle by exploiting insufficient file size checks in the file picker's unzip functionality.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25978?

CVE-2024-25978 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Insufficient file size checks resulted in a denial of service risk in the file picker's unzip functionality.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2024-25978?

7 open source packages ship an affected version, including moodle/moodle and moodle. It affects 2 products.

PackageAffectedFixed in
moodle/moodle PackagistAll versions4.1.9
moodle/moodle PackagistAll versions4.1.9
moodle/moodle PackagistFrom 4.2.04.2.6
moodle/moodle PackagistFrom 4.2.04.2.6
moodle/moodle PackagistFrom 4.3.04.3.3
moodle/moodle PackagistFrom 4.3.04.3.3
1 more packages
moodle BitnamiAll versions4.1.9, 4.2.6, 4.3.3

Products include Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2024-25978?

Upgrade moodle/moodle to a fixed version for your release line: 4.1.9, 4.2.6 or 4.3.3.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-25978 being exploited?

There is no known exploitation of CVE-2024-25978 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-moodle-2024-25978, GHSA-487g-3m3v-hjhq, UBUNTU-CVE-2024-25978.

Is CVE-2024-25978 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free