{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-22746",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-01-06T14:21:05.894Z",
        "datePublished": "2023-02-03T21:07:11.551Z",
        "dateUpdated": "2024-08-02T10:20:30.220Z"
    },
    "containers": {
        "cna": {
            "title": "CKAN is vulnerable to session secret shared across instances using Docker images",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-344",
                            "lang": "en",
                            "description": "CWE-344: Use of Invariant Value in Dynamically Changing Context",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-330",
                            "lang": "en",
                            "description": "CWE-330: Use of Insufficiently Random Values",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x"
                },
                {
                    "name": "https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b"
                },
                {
                    "name": "https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa"
                }
            ],
            "affected": [
                {
                    "vendor": "ckan",
                    "product": "ckan",
                    "versions": [
                        {
                            "version": ">= 2.9.0, < 2.9.7",
                            "status": "affected"
                        },
                        {
                            "version": "< 2.8.12",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-03T21:07:11.551Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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)\nkeitaroinc/docker-ckan (keitaro/ckan images).\n"
                }
            ],
            "source": {
                "advisory": "GHSA-pr8j-v4c8-h62x",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T10:20:30.220Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ckan/ckan/security/advisories/GHSA-pr8j-v4c8-h62x"
                    },
                    {
                        "name": "https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ckan/ckan/commit/44af0f0a148fcc0e0fbcf02fe69b7db13459a84b"
                    },
                    {
                        "name": "https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ckan/ckan/commit/4c22c135fa486afa13855d1cdb9765eaf418d2aa"
                    }
                ]
            }
        ]
    }
}