HIGH7.5
GHSA-c7rm-w2hj-x8g3
Guard bypass in Eloquent models affecting Laravel illuminate database component
Quick fix
GHSA-c7rm-w2hj-x8g3 — illuminate/database: upgrade to the fixed version with the command below.
composer require illuminate/database:^6.18.34Details
An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database component in some situations in which table names are stripped during a mass assignment.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/illuminate/database
Introduced in:
5.5.0No fixed version published yet for illuminate/database (composer). Pin to a known-safe version or switch to an alternative.
Packagist/illuminate/database
Introduced in:
6.0.0Fixed in: 6.18.34Fix
composer require illuminate/database:^6.18.34Packagist/illuminate/database
Introduced in:
7.0.0Fixed in: 7.23.2Fix
composer require illuminate/database:^7.23.2References
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/illuminate/database"]}'