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 package | Versions | Reported by |
|---|---|---|
| ckan ckan | >= 2.0, < 2.9.11, >= 2.10.0, < 2.10.4 | CVE List |
| ckan (PyPI) | before 2.9.11, from 2.10.0 before 2.10.4 | GitHub Advisory Database, PyPA Advisory Database |
| okfn ckan | from 2.0 before 2.9.11, from 2.10.0 before 2.10.4 | NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| PyPA Advisory Database | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27097 changed 2024-08-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8g38-3m6v-232j changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-27097 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1251 changed 2026-07-07 | CC-BY-4.0 |