CVE-2023-22746

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).
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*
cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*

History

07 Nov 2023, 04:07

Type Values Removed Values Added
Summary 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). 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).

14 Feb 2023, 15:39

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Okfn
Okfn ckan
CPE cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*
References (MISC) https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x - (MISC) https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x - Third Party Advisory
References (MISC) https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa - (MISC) https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa - Patch
References (MISC) https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b - (MISC) https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b - Patch

03 Feb 2023, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-03 22:15

Updated : 2023-12-10 14:48


NVD link : CVE-2023-22746

Mitre link : CVE-2023-22746

CVE.ORG link : CVE-2023-22746


JSON object : View

Products Affected

okfn

  • ckan
CWE
CWE-330

Use of Insufficiently Random Values

CWE-344

Use of Invariant Value in Dynamically Changing Context