Improper Output Neutralization for Logs Affecting ckan package, versions [,2.9.11)[2.10.0,2.10.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

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 Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CKAN-6437666
  • published14 Mar 2024
  • disclosed13 Mar 2024
  • creditZuhairORZaki

Introduced: 13 Mar 2024

CVE-2024-27097  (opens in a new tab)
CWE-117  (opens in a new tab)

How 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.

CVSS Scores

version 3.1