Advisory

GHSA-8g38-3m6v-232j

Also known as: CVE-2024-27097, PYSEC-2026-1251

Summary

Potential log injection in reset user endpoint in CKAN

Details

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.

Patches
This has been fixed in the CKAN 2.9.11 and 2.10.4 versions

Workarounds
Override the /user/reset endpoint to filter the id parameter in order to exclude newlines

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-13 15:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

ckan

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.11 (ecosystem)

Fixed versions

2.9.11

Fix

  • Fixed version 2.9.11
    pip install --upgrade ckan==2.9.11

ckan

PyPI · All systems

Affected

  • introduced 2.10.0, fixed 2.10.4 (ecosystem)

Fixed versions

2.10.4

Fix

  • Fixed version 2.10.4
    pip install --upgrade ckan==2.10.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences