What’s Vulnerable › Vulnerabilities
CVE-2024-27097: Potential log injection in reset user endpoint in ckan
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-13 · updated 2026-06-17
- Weakness: CWE-532
Description
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. This has been fixed in the CKAN versions 2.9.11 and 2.10.4. Users are advised to upgrade. Users unable to upgrade should override the `/user/reset` endpoint to filter the `id` parameter in order to exclude newlines.
Affected products
- ckan: from 2.0 before 2.9.11; from 2.10.0 before 2.10.4 — fixed in 2.10.4, 2.9.11
How to fix
Upgrade to a fixed version: ckan 2.10.4, 2.9.11. Check the vendor advisory for mitigations.
References
- https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c
- https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j
- https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c
- https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j
Get alerted when CVE-2024-27097 or the next vulnerability affects your stack