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

Source: https://junglewise.ai/threats/cve-2020-24940-guard-bypass-in-eloquent-models-affecting-laravel-illuminate  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-24940 · Severity: low · CVSS 3.1 · Published 2022-05-24

Guard bypass in Eloquent models affecting Laravel illuminate database component

Technologies: [illuminate/database (Packagist)](https://junglewise.ai/threats/technologies/illuminate-database). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-24940 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-24940 being exploited in the wild.

**How severe is CVE-2020-24940?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** illuminate/database (Packagist) ECOSYSTEM:introduced=5.5.0,last_affected=5.5.44.

**Is there a fix for CVE-2020-24940?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2020-24940?** Check whether you run illuminate/database (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- illuminate/database (Packagist) ECOSYSTEM:introduced=5.5.0,last_affected=5.5.44

## Identifiers

- CVE-2020-24940
- GHSA-c7rm-w2hj-x8g3

## Related threats

- [Laravel Risk of mass-assignment vulnerabilities](https://junglewise.ai/threats/laravel-risk-of-mass-assignment-vulnerabilities-baccdd7d)
- [SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database](https://junglewise.ai/threats/sql-server-limit-offset-sql-injection-in-laravel-framework-and-079ef7a6)
- [Unexpected database bindings](https://junglewise.ai/threats/unexpected-database-bindings-81f92145)
- [Query Binding Exploitation](https://junglewise.ai/threats/cve-2021-21263-query-binding-exploitation)
