CVE-2024-27097
JSON

4.3medium

Potential log injection in reset user endpoint in ckan

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8g38-3m6v-232jPYSEC-2026-1251

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

Product or packageVersionsReported by
ckan ckan>= 2.0, < 2.9.11, >= 2.10.0, < 2.10.4CVE List
ckan (PyPI)before 2.9.11, from 2.10.0 before 2.10.4GitHub Advisory Database, PyPA Advisory Database
okfn ckanfrom 2.0 before 2.9.11, from 2.10.0 before 2.10.4NVD

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
PyPA Advisory Database4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Classification

CWE-117CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

Un endpoint de usuario no realizó el filtrado de un parámetro entrante, que se agregó directamente al registro de la aplicación. Esto podría provocar que un atacante inyecte entradas de registro falsas o corrompa el formato del archivo de registro. Esto se ha solucionado en las versiones 2.9.11 y 2.10.4 de CKAN. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben anular el endpoint `/user/reset` para filtrar el parámetro `id` y excluir las nuevas líneas.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27097 changed 2024-08-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-8g38-3m6v-232j changed 2026-09-10CC-BY-4.0
NVDCVE-2024-27097 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1251 changed 2026-07-07CC-BY-4.0