NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-27097: Potential log injection in reset user endpoint in CKAN

mediumCVSS 3.1 4.3GHSA-8g38-3m6v-232j

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

Published Mar 13, 2024

Affected packages

ckan

Ecosystem
PyPI
Affected
< 2.9.11
Fixed in
2.9.11
Check
pip show ckan

ckan

Ecosystem
PyPI
Affected
>= 2.10.0, < 2.10.4
Fixed in
2.10.4
Check
pip show ckan

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to ZuhairORZaki.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries