Advisory

GHSA-2p6p-9rc9-62j9

Also known as: CVE-2024-56145

Summary

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

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-12-18 19:47 UTC
Modified
2025-10-22 19:42 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.0.0-RC1, fixed 5.5.2 (ecosystem)

Fixed versions

5.5.2

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 4.0.0-RC1, fixed 4.13.2 (ecosystem)

Fixed versions

4.13.2

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.9.14 (ecosystem)

Fixed versions

3.9.14

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences