Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. CVE-2024-52301

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

November 12, 2024 (updated December 21, 2024)

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml
  • github.com/advisories/GHSA-gv7v-rgg6-548h
  • github.com/laravel/framework
  • github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
  • lists.debian.org/debian-lts-announce/2024/12/msg00019.html
  • nvd.nist.gov/vuln/detail/CVE-2024-52301

Code Behaviors & Features

Detect and mitigate CVE-2024-52301 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.20.45, all versions starting from 7.0.0 before 7.30.7, all versions starting from 8.0.0 before 8.83.28, all versions starting from 9.0.0 before 9.52.17, all versions starting from 10.0.0 before 10.48.23, all versions starting from 11.0.0 before 11.31.0

Fixed versions

  • 6.20.45
  • 7.30.7
  • 8.83.28
  • 9.52.17
  • 10.48.23
  • 11.31.0

Solution

Upgrade to versions 10.48.23, 11.31.0, 6.20.45, 7.30.7, 8.83.28, 9.52.17 or above.

Impact

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

packagist/laravel/framework/CVE-2024-52301.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.