Vulnerability · Published Mar 13, 2024 · Assigned by GitHub_M
CVE-2024-27097Potential log injection in reset user endpoint in ckan
Medium 4.3
In plain English
A medium-severity sensitive data in logs in ckan from ckan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ckan | 2.9.11 | GHSA-8g38-3m6v-232j |
| PyPI | ckan | 2.10.4 | GHSA-8g38-3m6v-232j |
| PyPI | ckan | 2.10.4, 2.9.11 | PYSEC-2026-1251 |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j x_refsource_CONFIRM
- https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c x_refsource_MISC