CVE-2024-27097Okfn Ckan
Medium 5.3 No auth needed
Follow: this CVE · Okfn · Okfn Ckan We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 40
- Auth required
- No
- Published
- Mar 13, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ckan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ckan |
< 2.9.11 |
2.9.11 |
pip install "ckan>=2.9.11" |
| PyPI | ckan |
≥ 2.10.0 < 2.10.4 |
2.10.4 |
pip install "ckan>=2.10.4" |
| PyPI | ckan |
< 2.9.11 |
2.9.11 |
pip install "ckan>=2.9.11" |
| PyPI | ckan |
≥ 2.10.0 < 2.10.4 |
2.10.4 |
pip install "ckan>=2.10.4" |
Per OSV / GitHub Advisories (GHSA-8g38-3m6v-232j, PYSEC-2026-1251). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| okfn | ckan | ≥ 2.0 < 2.9.11 |
| okfn | ckan | ≥ 2.10.0 < 2.10.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory