CVE-2024-7456

published 1 Nov 2024 · updated 1 Nov 2024

SQL Injection in lunary-ai/lunary

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.4.3.

A SQL injection vulnerability exists in the `/api/v1/external-users` route of lunary-ai/lunary version v1.4.2. The `order by` clause of the SQL query uses `sql.unsafe` without prior sanitization, allowing for SQL injection. The `orderByClause` variable is constructed without server-side validation or sanitization, enabling an attacker to execute arbitrary SQL commands. Successful exploitation can lead to complete data loss, modification, or corruption.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
lunary-ai<1.4.31.4.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-7456 severity on Zeptric[![CVE-2024-7456](https://zeptric.io/badge/cve/CVE-2024-7456.svg)](https://zeptric.io/cve/CVE-2024-7456)