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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52082.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "33354a2ce7cf700cc4ee537b7b8b94dfc1e84ad4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"cpe": "cpe:2.3:a:lycheeorg:lychee:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.9.3"
},
{
"fixed": "5.0.2"
}
],
"source": "CPE_RANGE"
}
]
}