Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ckan
  4. ›
  5. CVE-2024-27097

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

March 13, 2024

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

  • docs.ckan.org/en/2.10/changelog.html
  • github.com/advisories/GHSA-8g38-3m6v-232j
  • github.com/ckan/ckan
  • github.com/ckan/ckan/commit/5fa133e7e9019573066455b5d442e93c62b3fc93
  • github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c
  • github.com/ckan/ckan/commit/d81f411bff2da7347c343a83e17f5814475b5b64
  • github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j
  • nvd.nist.gov/vuln/detail/CVE-2024-27097

Code Behaviors & Features

Detect and mitigate CVE-2024-27097 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.9.11, all versions starting from 2.10.0 before 2.10.4

Fixed versions

  • 2.9.11
  • 2.10.4

Solution

Upgrade to versions 2.10.4, 2.9.11 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-117: Improper Output Neutralization for Logs
  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/ckan/CVE-2024-27097.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.