{"api_version":"1","generated_at":"2026-06-05T08:30:44+00:00","cve":"CVE-2023-22746","urls":{"html":"https://cve.report/CVE-2023-22746","api":"https://cve.report/api/cve/CVE-2023-22746.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-22746","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-22746"},"summary":{"title":"CVE-2023-22746","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).","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-03 22:15:00","updated_at":"2023-11-07 04:07:00"},"problem_types":["CWE-330","CWE-344"],"metrics":[],"references":[{"url":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b","name":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b","refsource":"MISC","tags":[],"title":"Perform checks on provided id when creating user · ckan/ckan@44af0f0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa","name":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa","refsource":"MISC","tags":[],"title":"Perform checks on provided id when creating user · ckan/ckan@4c22c13 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x","name":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x","refsource":"MISC","tags":[],"title":"Session secret shared across instances using Docker images · Advisory · ckan/ckan · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22746","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22746","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"22746","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"okfn","cpe5":"ckan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-22746","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-344: Use of Invariant Value in Dynamically Changing Context","cweId":"CWE-344"}]},{"description":[{"lang":"eng","value":"CWE-330: Use of Insufficiently Random Values","cweId":"CWE-330"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ckan","product":{"product_data":[{"product_name":"ckan","version":{"version_data":[{"version_value":">= 2.9.0, < 2.9.7","version_affected":"="},{"version_value":"< 2.8.12","version_affected":"="}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x","refsource":"MISC","name":"https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x"},{"url":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b","refsource":"MISC","name":"https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b"},{"url":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa","refsource":"MISC","name":"https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa"}]},"source":{"advisory":"GHSA-pr8j-v4c8-h62x","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-03 22:15:00","lastModifiedDate":"2023-11-07 04:07:00","problem_types":["CWE-330","CWE-344"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*","versionEndExcluding":"2.8.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*","versionStartIncluding":"2.9.0","versionEndExcluding":"2.9.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}