Vulnerabilities · 2023 · Okfn
CVE-2023-22746
Okfn Ckan vulnerability
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).
Affected products
Ckan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Okfn Ckan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b · Patch
- github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa · Patch
- github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-22746
- cve.org/CVERecord?id=CVE-2023-22746
More vulnerabilities in Okfn products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.