ADVISORIES

GitHub Advisory Database

GHSA-2p6p-9rc9-62j9

Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled

Critical Known exploited CVE-2024-56145

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistcraftcms/cms
From 5.0.0-RC1 before 5.5.2 (fixed in 5.5.2)
Packagistcraftcms/cms
From 4.0.0-RC1 before 4.13.2 (fixed in 4.13.2)
Packagistcraftcms/cms
From 3.0.0 before 3.9.14 (fixed in 3.9.14)

References