NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-52301: Laravel environment manipulation via query string

highCVSS 4.0 8.7GHSA-gv7v-rgg6-548h

Description When the registerargcargv 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.

Published Nov 12, 2024 · Updated Dec 21, 2024

Affected packages

laravel/framework

Ecosystem
Composer (PHP)
Affected
< 6.20.45
Fixed in
6.20.45
Check
composer show laravel/framework

laravel/framework

Ecosystem
Composer (PHP)
Affected
>= 7.0.0, < 7.30.7
Fixed in
7.30.7
Check
composer show laravel/framework

laravel/framework

Ecosystem
Composer (PHP)
Affected
>= 8.0.0, < 8.83.28
Fixed in
8.83.28
Check
composer show laravel/framework

laravel/framework

Ecosystem
Composer (PHP)
Affected
>= 9.0.0, < 9.52.17
Fixed in
9.52.17
Check
composer show laravel/framework

laravel/framework

Ecosystem
Composer (PHP)
Affected
>= 10.0.0, < 10.48.23
Fixed in
10.48.23
Check
composer show laravel/framework

laravel/framework

Ecosystem
Composer (PHP)
Affected
>= 11.0.0, < 11.31.0
Fixed in
11.31.0
Check
composer show laravel/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries