{"id":"CVE-2024-53846","state":"PUBLISHED","title":"ssl fails to validate incorrect extened key usage","description":"OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs. A regression was introduced into the ssl application of OTP starting at OTP-25.3.2.8, OTP-26.2, and OTP-27.0, resulting in a server or client verifying the peer when incorrect extended key usage is presented (i.e., a server will verify a client if they have server auth ext key usage and vice versa).","publishedAt":"2024-12-05T17:02:59.370Z","updatedAt":"2024-12-06T16:26:57.528Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["erlang otp"],"affected":[{"vendor":"erlang","product":"otp","versions":[{"version":">= 25.3.2.8, <= 25.3.2.16","status":"affected"},{"version":">= 26.2, <= 26.2.5.6","status":"affected"},{"version":">= 27.0, <= 27.1.3","status":"affected"}]}],"references":["https://github.com/erlang/otp/security/advisories/GHSA-qw6r-qh9v-638v"],"weaknesses":["CWE-295"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53846.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-53846","state":"PUBLISHED","datePublished":"2024-12-05T17:02:59.370Z","dateUpdated":"2024-12-06T16:26:57.528Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-22T17:30:02.140Z"},"containers":{"cna":{"title":"ssl fails to validate incorrect extened key usage","descriptions":[{"lang":"en","value":"OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs. A regression was introduced into the ssl application of OTP starting at OTP-25.3.2.8, OTP-26.2, and OTP-27.0, resulting in a server or client verifying the peer when incorrect extended key usage is presented (i.e., a server will verify a client if they have server auth ext key usage and vice versa)."}],"affected":[{"vendor":"erlang","product":"otp","versions":[{"version":">= 25.3.2.8, <= 25.3.2.16","status":"affected"},{"version":">= 26.2, <= 26.2.5.6","status":"affected"},{"version":">= 27.0, <= 27.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-qw6r-qh9v-638v","name":"https://github.com/erlang/otp/security/advisories/GHSA-qw6r-qh9v-638v","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","lang":"en","description":"CWE-295: Improper Certificate Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-05T17:02:59.370Z"},"source":{"advisory":"GHSA-qw6r-qh9v-638v","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"erlang","product":"otp","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"25.3.2.8","versionType":"custom"}],"cpes":["cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-06T16:04:29.566469Z","id":"CVE-2024-53846","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-06T16:26:57.528Z"}}]}}}