Advisory

GHSA-c7rm-w2hj-x8g3

Also known as: BIT-laravel-2020-24940, CVE-2020-24940

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:27 UTC
Modified
2024-11-29 05:35 UTC

Affected packages and fixes

illuminate/database

Packagist · All systems

Affected

  • introduced 5.5.0, last affected 5.5.44 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

illuminate/database

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.18.34 (ecosystem)

Fixed versions

6.18.34

Fix

The export has no generic command for this ecosystem.

illuminate/database

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.23.2 (ecosystem)

Fixed versions

7.23.2

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