CVE-2024-56145
Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled
9.8
CRITICAL
CVSS 3.1
⚠ KEVEPSS 93.9%
Description
### Impact You are affected if your php.ini configuration has `register_argc_argv` enabled. ### Patches Update to 3.9.14, 4.13.2, or 5.5.2. ### Workarounds If you can't upgrade yet, and `register_argc_argv` is enabled, you can disable it to mitigate the issue.
How to fix CVE-2024-56145
To remediate CVE-2024-56145, upgrade the affected package to a fixed version below.
- —upgrade to 5.5.2 or later
Is CVE-2024-56145 being exploited?
Yes — CVE-2024-56145 is on the CISA Known Exploited Vulnerabilities (KEV) catalog. Patch immediately.
Affected packages (1)
- >= 5.0.0-RC1, < 5.5.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |