VDB
Sign up
MEDIUM

GHSA-rj3w-99gc-8j58

Laravel Risk of mass-assignment vulnerabilities

Quick fix

GHSA-rj3w-99gc-8j58 — laravel/framework: upgrade to the fixed version with the command below.

composer require laravel/framework:^4.1.29

Details

Laravel 4.1.29 improves the column quoting for all database drivers. This protects your application from some mass assignment vulnerabilities when not using the fillable property on models. If you are using the fillable property on your models to protect against mass assignment, your application is not vulnerable. However, if you are using guarded and are passing a user controlled array into an "update" or "save" type function, you should upgrade to 4.1.29 immediately as your application may be at risk of mass assignment.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/laravel/framework
Introduced in: 4.0.0Fixed in: 4.1.29
Fixcomposer require laravel/framework:^4.1.29

References

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"]}'