CVE-2020-24940 json
Guard bypass in Eloquent models affecting Laravel illuminate database component
published 6y ago modified 4mo ago also BIT-laravel-2020-24940 , EUVD-2022-3530 , GHSA-c7rm-w2hj-x8g3
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database in some situations in which table names are stripped during a mass assignment.
Patch / fix
- packagist illuminate/database 6.18.34, 7.23.2
- bitnami laravel 6.18.34, 7.23.2
- laravel laravel 6.18.34, 7.23.2
Is CVE-2020-24940 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | illuminate/database | >=5.5.0, <=5.5.44 >=6.0.0, <6.18.34 >=7.0.0, <7.23.2 |
6.18.34 7.23.2 |
| bitnami | laravel | <6.18.34 >=7.0.0, <7.23.2 |
6.18.34 7.23.2 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
Sources
- CVE List CVE-2020-24940
- GitHub Advisory GHSA-c7rm-w2hj-x8g3
- NVD CVE-2020-24940
- OSV BIT-laravel-2020-24940
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.