Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. illuminate/database
  4. ›
  5. CVE-2020-24940

CVE-2020-24940: Guard bypass in Eloquent models affecting Laravel illuminate database component

May 24, 2022 (updated May 15, 2024)

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.

References

  • blog.laravel.com/security-release-laravel-61834-7232
  • github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2020-24940.yaml
  • github.com/advisories/GHSA-c7rm-w2hj-x8g3
  • github.com/illuminate/database
  • nvd.nist.gov/vuln/detail/CVE-2020-24940

Code Behaviors & Features

Detect and mitigate CVE-2020-24940 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 5.5.0 up to 5.5.44, all versions starting from 6.0.0 before 6.18.34, all versions starting from 7.0.0 before 7.23.2

Fixed versions

  • 6.18.34
  • 7.23.2

Solution

Upgrade to versions 6.18.34, 7.23.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Source file

packagist/illuminate/database/CVE-2020-24940.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:51 +0000.