Advisory

GHSA-gv7v-rgg6-548h

Also known as: BIT-laravel-2024-52301, CVE-2024-52301

Summary

Laravel environment manipulation via query string

Details

Description

When the register_argc_argv php directive is set to on , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.

Resolution

The framework now ignores argv values for environment detection on non-cli SAPIs.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-11-12 22:08 UTC
Modified
2024-12-21 18:37 UTC

Affected packages and fixes

laravel/framework

Packagist · All systems

Affected

  • introduced 0, fixed 6.20.45 (ecosystem)

Fixed versions

6.20.45

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.30.7 (ecosystem)

Fixed versions

7.30.7

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 8.83.28 (ecosystem)

Fixed versions

8.83.28

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 9.0.0, fixed 9.52.17 (ecosystem)

Fixed versions

9.52.17

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 10.0.0, fixed 10.48.23 (ecosystem)

Fixed versions

10.48.23

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 11.0.0, fixed 11.31.0 (ecosystem)

Fixed versions

11.31.0

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