Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. GHSA-rj3w-99gc-8j58

GHSA-rj3w-99gc-8j58: Laravel Risk of mass-assignment vulnerabilities

May 15, 2024

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2014-05-20.yaml
  • github.com/advisories/GHSA-rj3w-99gc-8j58
  • github.com/laravel/framework
  • github.com/laravel/framework/commit/c942a1bc30999e3d7a5567f264bfc99c77843919
  • laravel.com/docs/5.3/upgrade

Code Behaviors & Features

Detect and mitigate GHSA-rj3w-99gc-8j58 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.1.29

Fixed versions

  • 4.1.29

Solution

Upgrade to version 4.1.29 or above.

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/laravel/framework/GHSA-rj3w-99gc-8j58.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.