Access Restriction Bypass Affecting ckan package, versions [,2.8.12)[2.9.0, 2.9.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.11% (46th 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-CKAN-3311278
  • published5 Feb 2023
  • disclosed5 Feb 2023
  • creditUnknown

Introduced: 5 Feb 2023

CVE-2023-22746  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade ckan to version 2.8.12, 2.9.7 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 Access Restriction Bypass. When creating a new container based on one of the Docker images listed below, the same secret key was being used by default. If the users didn't set a custom value via environment variables in the .env file, that key was shared across different CKAN instances, making it easy to forge authentication requests.

The affected images are:

  • ckan/ckan-docker, (ckan/ckan-base images)
  • okfn/docker-ckan (openknowledge/ckan-base and openknowledge/ckan-dev images)
  • keitaroinc/docker-ckan (keitaro/ckan images).

CVSS Scores

version 3.1