Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-27097 EUVD-2024-0874GHSA-8g38-3m6v-232jPYSEC-2026-1251

Potential log injection in reset user endpoint in ckan

Published Mar 13, 2024 · Updated Aug 21, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
ckan ckan >= 2.0, < 2.9.11, >= 2.10.0, < 2.10.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ckan < 2.9.11 2.9.11 GHSA-8g38-3m6v-232j
PyPI ckan >= 2.10.0, < 2.10.4 2.10.4 GHSA-8g38-3m6v-232j
PyPI ckan < 2.9.11 · >= 2.10.0, < 2.10.4 2.9.11, 2.10.4 PYSEC-2026-1251

References