GHSA-x7p5-p2c9-phvg: Unexpected database bindings
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: illuminate/database (Packagist) 7.30.4, 8.24.0, 6.20.14; laravel/framework (Packagist) 7.30.4, 8.24.0, 6.20.14.
Low priority for now. Upgrade to illuminate/database (Packagist) 7.30.4, 8.24.0, 6.20.14; laravel/framework (Packagist) 7.30.4, 8.24.0, 6.20.14 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: OSV
This is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.
- Published
- Feb 2, 2021
- Updated
- Dec 2, 2024
- EPSS
- —
- CWE
- CWE-74
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · —
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| Packagist | laravel/framework | pkg:composer/laravel/framework |
| Packagist | illuminate/database | pkg:composer/illuminate/database |
Using laravel/framework? Add it to your stack and be the first to know about CVEs like this one. (Laravel)
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Packagist | illuminate/database | from 7.0.0 · before 7.30.4 | 7.30.4 |
| Packagist | illuminate/database | from 8.0.0 · before 8.24.0 | 8.24.0 |
| Packagist | illuminate/database | before 6.20.14 | 6.20.14 |
| Packagist | laravel/framework | from 7.0.0 · before 7.30.4 | 7.30.4 |
| Packagist | laravel/framework | from 8.0.0 · before 8.24.0 | 8.24.0 |
| Packagist | laravel/framework | before 6.20.14 | 6.20.14 |
Same product
Packagist: all recordsOther highest-scoring records for the same primary product.
- GHSA-qm5c-m76r-2hfrLaravel RCE vulnerability in "cookie" session driver39Monitor
- GHSA-vr95-p7q6-8m9qLaravel Cross-site Scripting (XSS) vulnerability in blade templating17Monitor
- GHSA-crmm-hgp2-wgrpLaravel Framework: Temporary Signed URL Path Confusion16Monitor
Published before and after this one in the same product
- Later →GHSA-4mg9-vhxq-vm7jApr 29, 2021 · SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database0Monitor
- Later →GHSA-rj3w-99gc-8j58May 15, 2024 · Laravel Risk of mass-assignment vulnerabilities0Monitor
- Later →GHSA-p62r-7637-3wwcMay 15, 2024 · Laravel Hijacked authentication cookies vulnerability0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Packagist:illuminate/database | 6.20.14 | Package registry (OSV) |
| Packagist:illuminate/database | 7.30.4 | Package registry (OSV) |
| Packagist:illuminate/database | 8.24.0 | Package registry (OSV) |
| Packagist:laravel/framework | 6.20.14 | Package registry (OSV) |
| Packagist:laravel/framework | 7.30.4 | Package registry (OSV) |
| Packagist:laravel/framework | 8.24.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
osv
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- HTTP Request SplittingCAPEC-105likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Format String InjectionCAPEC-135likelihood: High · High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.