GitHub Advisory Database
GHSA-c7rm-w2hj-x8g3
Guard bypass in Eloquent models affecting Laravel illuminate database component
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | illuminate/database | From 5.5.0 up to and including 5.5.44 |
| Packagist | illuminate/database | From 6.0.0 before 6.18.34 (fixed in 6.18.34) |
| Packagist | illuminate/database | From 7.0.0 before 7.23.2 (fixed in 7.23.2) |