CVE-2024-50340: Symfony allows changing the environment through a query
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 or debug mode used by the kernel when handling the request.
References
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/runtime/CVE-2024-50340.yaml
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50340.yaml
- github.com/advisories/GHSA-x8vp-gf4q-mw5j
- github.com/symfony/symfony
- github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa
- github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j
- nvd.nist.gov/vuln/detail/CVE-2024-50340
- symfony.com/cve-2024-50340
Code Behaviors & Features
Detect and mitigate CVE-2024-50340 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →