{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-39312",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-06-21T18:15:22.260Z",
        "datePublished": "2024-07-08T16:30:25.044Z",
        "dateUpdated": "2024-08-02T04:19:20.621Z"
    },
    "containers": {
        "cna": {
            "title": "Botan has an Authorization Error due to Name Constraint Decoding Bug",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-295",
                            "lang": "en",
                            "description": "CWE-295: Improper Certificate Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86"
                }
            ],
            "affected": [
                {
                    "vendor": "randombit",
                    "product": "botan",
                    "versions": [
                        {
                            "version": "< 2.19.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.0.0, < 3.5.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-07-08T16:30:25.044Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5."
                }
            ],
            "source": {
                "advisory": "GHSA-jp24-56jm-gg86",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "randombit",
                        "product": "botan",
                        "cpes": [
                            "cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "2.19.5",
                                "versionType": "custom"
                            },
                            {
                                "version": "3.0.0",
                                "status": "affected",
                                "lessThan": "3.5.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-08T19:57:15.379890Z",
                                "id": "CVE-2024-39312",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-08T19:59:00.224Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T04:19:20.621Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/randombit/botan/security/advisories/GHSA-jp24-56jm-gg86"
                    }
                ]
            }
        ]
    }
}