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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.4%top 61.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIckan2.9.11GHSA-8g38-3m6v-232j
PyPIckan2.10.4GHSA-8g38-3m6v-232j
PyPIckan2.10.4, 2.9.11PYSEC-2026-1251

Affected products (as reported)

VendorProductVersions
ckan ckan >= 2.0, < 2.9.11>= 2.10.0, < 2.10.4

Weakness: CWE-532 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

References