GHSA-63hm-g96r-2m2q
Laravel: Task Output Injection - Concurrency Process
Quick fix
GHSA-63hm-g96r-2m2q — laravel/framework: upgrade to the fixed version with the command below.
composer require laravel/framework:^12.71.0Details
### Summary
If a concurrency task prints user-controlled text, an attacker can forge the framework's internal result message and achieve remote code execution in certain conditions
### Pre-reqs
Insecure code and insecure handling of user provided input (devs trust user-provided input) :
1. App has a route that reaches Concurrency::run() (Not by default, it requires app code)
2. The task writes user-controlled data to stdout (echo/print/`dd` of input, hand-built JSON via string concat, passthrough of tool output), and the user-controlled bytes can be made to start the child's stdout and form a complete JSON document followed by \x1f\x8b (Not by default, requires the specific coding pattern in the app code)
### Patches * 13.40.0 * 12.71.0
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 12.71.0composer require laravel/framework:^12.71.013.0.0Fixed in: 13.40.0composer require laravel/framework:^13.40.0References
- https://github.com/laravel/framework/security/advisories/GHSA-63hm-g96r-2m2q[WEB]
- https://github.com/laravel/framework/pull/62297[WEB]
- https://github.com/laravel/framework/commit/0f904940d176d51db1105cc925136f01bb69e92c[WEB]
- https://github.com/laravel/framework/commit/c37133b89b30a86eb404537151edd8944e938f0a[WEB]
- https://github.com/laravel/framework[PACKAGE]
- https://github.com/laravel/framework/releases/tag/v12.71.0[WEB]
- https://github.com/laravel/framework/releases/tag/v13.40.0[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/laravel/framework"]}'