CVE-2024-27097: 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
Published Mar 13, 2024
Affected packages
ckan
- Ecosystem
- PyPI
- Affected
- < 2.9.11
- Fixed in
- 2.9.11
- Check
pip show ckan
ckan
- Ecosystem
- PyPI
- Affected
- >= 2.10.0, < 2.10.4
- Fixed in
- 2.10.4
- Check
pip show ckan
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to ZuhairORZaki.
References
- https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j
- https://github.com/ckan/ckan/commit/5fa133e7e9019573066455b5d442e93c62b3fc93
- https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c
- https://github.com/ckan/ckan/commit/d81f411bff2da7347c343a83e17f5814475b5b64
- https://docs.ckan.org/en/2.10/changelog.html#v-2-10-4-2024-03-13
- https://nvd.nist.gov/vuln/detail/CVE-2024-27097
- https://github.com/advisories/GHSA-8g38-3m6v-232j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-104773
CKAN: Session Fixation in Registration View
medium6.8Nov 20, 2026CVE-2026-42032
CKAN has Unauthenticated Authorization Bypass in `datastore_search_sql`
medium6.7Apr 30, 2026CVE-2026-41132
CKAN has no certificate validation on STMP connection
medium6.6Apr 29, 2026CVE-2026-41255
CKAN has CSRF exemption primed by anonymous requests
medium6.1Apr 29, 2026CVE-2026-42031
CKAN has Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
high8.3Apr 29, 2026CVE-2025-54384
CKAN vulnerable to stored XSS in resource description
medium6.3Oct 29, 2025
