GHSA-gv7v-rgg6-548hHigh

Laravel environment manipulation via query string

Published
November 12, 2024
Last Modified
December 21, 2024

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products6

  • composer/laravel/framework:< 6.20.45
  • composer/laravel/framework:>= 7.0.0, < 7.30.7
  • composer/laravel/framework:>= 8.0.0, < 8.83.28
  • composer/laravel/framework:>= 9.0.0, < 9.52.17
  • composer/laravel/framework:>= 10.0.0, < 10.48.23
  • composer/laravel/framework:>= 11.0.0, < 11.31.0

🔗 References (5)