ckan
Affected
- introduced
0, fixed2.9.11(ecosystem)
Fixed versions
2.9.11
Fix
- Fixed version
2.9.11pip install --upgrade ckan==2.9.11
Advisory
Also known as: CVE-2024-27097, PYSEC-2026-1251
Potential log injection in reset user endpoint in CKAN
A user endpoint didn't perform filtering on an incoming parameter, which was added directly to the application log. This could lead to an attacker injecting false log entries or corrupt the log file format.
Patches
This has been fixed in the CKAN 2.9.11 and 2.10.4 versions
Workarounds
Override the /user/reset endpoint to filter the id parameter in order to exclude newlines
Medium Basis: The source's own band: MODERATE
0, fixed 2.9.11 (ecosystem)2.9.11
2.9.11pip install --upgrade ckan==2.9.112.10.0, fixed 2.10.4 (ecosystem)2.10.4
2.10.4pip install --upgrade ckan==2.10.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0