{"id":"CVE-2023-22746","published":"2023-02-03T21:07:11Z","modified":"2025-03-10T21:16:37Z","title":"CKAN is vulnerable to session secret shared across instances using Docker images","vendor":"ckan","product":"ckan","tier":"tail","description":{"text":"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)\nkeitaroinc/docker-ckan (keitaro/ckan images).\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00712,"percentile":0.54501,"provenance":"source"},"cwes":[{"id":"CWE-344","name":"Use of Invariant Value in Dynamically Changing Context"},{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b","tags":["x_refsource_MISC"]},{"url":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.9},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"ckan","affectedVersions":[{"vendor":"ckan","product":"ckan","versions":[">= 2.9.0, < 2.9.7","< 2.8.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T20:59:04.838038Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-26864","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ckan-cve-2021-25967","parents":[{"from":"CVE-2021-25967","to":"CVE-2023-22746","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ckan/logic/action/create.py"],"commits":["https://github.com/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25","https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b","https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa"],"basis":"shared function","functions":["user_create"]}]}]}}