~ / search / GHSA-8g38-3m6v-232j

GHSA-8g38-3m6v-232j

Potential log injection in reset user endpoint in CKAN

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-27097

Packages

EcosystemPackageAffectedFixed in
PyPI ckan < 2.9.11 2.9.11
PyPI ckan >= 2.10.0, < 2.10.4 2.10.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.