Advisory

GHSA-cc2w-ghc5-m5qr

Also known as: None

Summary

Laravel Risk of mass-assignment vulnerabilities

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-15 21:53 UTC
Modified
2024-11-29 05:42 UTC

Affected packages and fixes

illuminate/database

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.29 (ecosystem)

Fixed versions

4.1.29

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences