Potential log injection in reset user endpoint in ckan
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ckan | ckan | 2.0 to before 2.9.11; 2.10.0 to before 2.10.4 | 2.9.11, 2.10.4 | Patch available | CNA |
| — | ckan (PyPI) | before 2.9.11 | 2.9.11 | Patch available | GHSA-8g38-3m6v-232j |
| — | ckan (PyPI) | 2.10.0 to before 2.10.4 | 2.10.4 | Patch available | GHSA-8g38-3m6v-232j |
- ckan Vendorckan Affected 2.0 to before 2.9.11; 2.10.0 to before 2.10.4 Fixed in 2.9.11, 2.10.4 Patch available CNA
- ckan (PyPI) Vendor— Affected before 2.9.11 Fixed in 2.9.11 Patch available GHSA-8g38-3m6v-232j
- ckan (PyPI) Vendor— Affected 2.10.0 to before 2.10.4 Fixed in 2.10.4 Patch available GHSA-8g38-3m6v-232j
Remediation
- Fix · CNA ckan (ckan) Fixed in 2.9.11, 2.10.4
- Fix · GHSA-8g38-3m6v-232j ckan (PyPI) Fixed in 2.9.11 Advisory →
- Fix · GHSA-8g38-3m6v-232j ckan (PyPI) Fixed in 2.10.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-27097
- 2026-10-03 Alias added: GHSA-8g38-3m6v-232j
References
Advisory 2
More Ckan vulnerabilities
- TI-2026-29863 CKAN: CSRF exemption primed by anonymous requests CVSS 3.1MEDIUM 6.1
- TI-2021-07973 CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload CVSS 3.1MEDIUM 5.4
- TI-2023-15615 CKAN remote code execution and private information access via crafted resource ids CVSS 3.1CRITICAL 9.8
- TI-2026-30410 CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql` CVSS 4.0HIGH 8.3
- TI-2023-08919 CKAN is vulnerable to session secret shared across instances using Docker images CVSS 3.1HIGH 8.6
- TI-2023-15972 Excessive permissions for ckan user CVSS 3.1HIGH 8.8
Sources
- CVE-2024-27097 · CVE Program
- CVE-2024-27097 · NVD
- FIRST EPSS
- GHSA-8g38-3m6v-232j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences