{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-34702","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-05-07T13:53:00.132Z","datePublished":"2024-07-08T16:22:37.770Z","dateUpdated":"2024-08-02T02:59:22.209Z"},"containers":{"cna":{"title":"Botan has a Denial of Service Due to Excessive Name Constraints","problemTypes":[{"descriptions":[{"cweId":"CWE-405","lang":"en","description":"CWE-405: Asymmetric Resource Consumption (Amplification)","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j"},{"name":"https://github.com/randombit/botan/pull/4034","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4034"},{"name":"https://github.com/randombit/botan/pull/4045","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4045"},{"name":"https://github.com/randombit/botan/pull/4047","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4047"},{"name":"https://github.com/randombit/botan/pull/4052","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4052"},{"name":"https://github.com/randombit/botan/pull/4186","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4186"},{"name":"https://github.com/randombit/botan/pull/4187","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/pull/4187"},{"name":"https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e"},{"name":"https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac"},{"name":"https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1"},{"name":"https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf"},{"name":"https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41"},{"name":"https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8","tags":["x_refsource_MISC"],"url":"https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8"}],"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:22:37.770Z"},"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.  Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5."}],"source":{"advisory":"GHSA-5gg9-hqpr-r58j","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"randombit","product":"botan","cpes":["cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"3.0.0","status":"affected","lessThan":"3.5.0","versionType":"custom"},{"version":"0","status":"affected","lessThan":"2.19.5","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-08T17:49:00.765800Z","id":"CVE-2024-34702","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-08T20:14:23.465Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T02:59:22.209Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/randombit/botan/security/advisories/GHSA-5gg9-hqpr-r58j"},{"name":"https://github.com/randombit/botan/pull/4034","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4034"},{"name":"https://github.com/randombit/botan/pull/4045","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4045"},{"name":"https://github.com/randombit/botan/pull/4047","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4047"},{"name":"https://github.com/randombit/botan/pull/4052","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4052"},{"name":"https://github.com/randombit/botan/pull/4186","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4186"},{"name":"https://github.com/randombit/botan/pull/4187","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/pull/4187"},{"name":"https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/21dccc8fef18c165ba3301d850ac61521f85637e"},{"name":"https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/39535f13c322f56aa3da2f44b2b6abb8619a82ac"},{"name":"https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/477822a2d10f02d8ba46c9d8a5132f25843f5cc1"},{"name":"https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/7606d70d3a2ac7114476ec2651ca0243c4536fdf"},{"name":"https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/c3264821b9f6286ee4e6e3e06826f6b7177e6d41"},{"name":"https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/randombit/botan/commit/ff704b12e6fa351aaedd07bffdc91722e84586b8"}]}]}}