CVE-2021-25967: Cross-site Scripting in CKAN

CVE-2021-25967 · Severity: low · CVSS 3.1 · Published 2021-12-01

In CKAN, versions 2.9.0 to 2.9.3 are affected by a stored XSS vulnerability via SVG file upload of users’ profile picture. This allows low privileged application users to store malicious scripts in their profile picture. These scripts are executed in a victim’s browser when they open the malicious profile picture

Technologies: ckan (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-25967 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-25967 being exploited in the wild.
How severe is CVE-2021-25967?
Low severity, with a CVSS score of 3.1, published 1 December 2021.
Which products and versions are affected?
ckan (PyPI) ECOSYSTEM:introduced=2.9.0,fixed=2.10.0, ECOSYSTEM:introduced=2.9.0,fixed=2.9.4.
Is there a fix for CVE-2021-25967?
Yes. ckan (PyPI): upgrade to 2.10.0, 2.9.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-25967?
Check whether you run ckan (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ckan (PyPI): upgrade to 2.10.0, 2.9.4 or later
    pip install "ckan>=2.10.0"

Affected products

  • ckan (PyPI) ECOSYSTEM:introduced=2.9.0,fixed=2.10.0, ECOSYSTEM:introduced=2.9.0,fixed=2.9.4

Identifiers

  • CVE-2021-25967
  • GHSA-6w9p-88qg-p3g3
  • PYSEC-2021-841

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.