CVE-2023-52082CWE-89

Lychee is vulnerable to an SQL Injection in explain DB queries.

High · published December 28, 2023

CVSS v3.1
8.8
EPSS
0%
Percentile
39.8
In the wild
Unconfirmed
What it is

Lychee is a free photo-management tool. Prior to 5.0.2, Lychee is vulnerable to an SQL injection on any binding when using mysql/mariadb. This injection is only active for users with the `.env` settings set to DB_LOG_SQL=true and DB_LOG_SQL_EXPLAIN=true. The defaults settings of Lychee are safe. The patch is provided on version 5.0.2. To work around this issue, disable SQL EXPLAIN logging.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00472 · 39.8th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2023-12-28T15:46Z
EPSS history
Timeline
  • 28 DEC 15:46Z
    Lychee is vulnerable to an SQL Injection in explain DB queries.
    cvelistv5