Improper Output Neutralization for Logs Affecting ckan package, versions [,2.9.11) [2.10.0,2.10.4)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-CKAN-6437666
- published 14 Mar 2024
- disclosed 13 Mar 2024
- credit ZuhairORZaki
Introduced: 13 Mar 2024
CVE-2024-27097 Open this link in a new tabHow to fix?
Upgrade ckan
to version 2.9.11, 2.10.4 or higher.
Overview
ckan is a world’s leading Open Source data portal platform.
It powers dozens of Open Data portals around the world, including data.gov, open.canada.ca and europeandataportal.eu but also regional, research and community organizations.
It makes easy to publish, share and find data online and is fully customizable via extensions and plugins.
Affected versions of this package are vulnerable to Improper Output Neutralization for Logs due to the user endpoint not performing filtering on an incoming parameter, which was added directly to the application log. An attacker can inject false log entries or corrupt the log file format by sending crafted input.
Workaround
Override the /user/reset
endpoint to filter the id
parameter in order to exclude newlines.