Skip to content

CVE-2023-22746 CKAN is vulnerable to session secret shared across instances using Docker images

HighCVSS 7.5 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Docker

Description

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. 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. Users overriding the default secret key in their own .env file are not affected by this issue. Note that the legacy images (ckan/ckan) located in the main CKAN repo are not affected by this issue. 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).

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
okfn ckan < 2.8.12; >= 2.9.0, < 2.9.7 2.8.12, 2.9.7 Fixed
ckan = < 2.8.12; = >= 2.9.0, < 2.9.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ckan = >= 2.9.0, < 2.9.7 No fix listed
ckan = < 2.8.12 No fix listed
okfn ckan < 2.8.12 2.8.12
okfn ckan >= 2.9.0, < 2.9.7 2.9.7

References