Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Okfn | Ckan | < 2.8.12 |
Related Weaknesses (CWE)
References
- https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84bPatch
- https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aaPatch
- https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62xThird Party Advisory
- https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84bPatch
- https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aaPatch
- https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62xThird Party Advisory
FAQ
What is CVE-2023-22746?
CVE-2023-22746 is a vulnerability with a CVSS score of 8.6 (HIGH). 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...
How severe is CVE-2023-22746?
CVE-2023-22746 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22746?
Check the references section above for vendor advisories and patch information. Affected products include: Okfn Ckan.