Skip to content
Heist/ feed
Back to feed
Medium

ssl fails to validate incorrect extened key usage

Type: advisorySources: OSV

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-53846
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:54 UTC · Revision 1

Source evidence

ssl fails to validate incorrect extened key usage

core-osv · Original source

Published 5 Dec 2024, 17:02 UTC

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).

osv:CVE-2024-53846
Complete source record
{
  "id": "a50b4dd5ff1931b8cb4cc446bf8f7c41f7ddf1c3a44bfafad1e60a83b138797d",
  "url": "https://osv.dev/vulnerability/CVE-2024-53846",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ssl fails to validate incorrect extened key usage",
    "summary": "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).",
    "evidence": "osv:CVE-2024-53846",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-53846",
      "aliases": [
        "CVE-2024-53846",
        "GHSA-qw6r-qh9v-638v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/erlang/otp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c08f5acfb4e47933d8128d0b41b01487d0eb97a1"
                },
                {
                  "last_affected": "d4469b4f5994941712ba24e238db06fd86f87b61"
                },
                {
                  "introduced": "7fc0898502cb3370b7c6d523a7393cd101808493"
                },
                {
                  "last_affected": "51548614b588c667a4230c17e2b187474dd70d63"
                },
                {
                  "introduced": "601a012837ea0a5c8095bf24223132824177124d"
                },
                {
                  "last_affected": "800613cca84970750658b294ddd7977843b3bc5d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "25.3.2.8"
                      },
                      {
                        "last_affected": "25.3.2.16"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "26.2"
                      },
                      {
                        "last_affected": "26.2.5.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "27.0"
                      },
                      {
                        "last_affected": "27.1.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "versions": [
            "patch-base-26",
            "OTP-26.2.5",
            "OTP-27.0",
            "OTP-26.2.3",
            "OTP-25.3.2.9",
            "OTP-26.2.5.6",
            "OTP-27.1",
            "OTP-25.3.2.16",
            "OTP-25.3.2.15",
            "OTP-27.1.3",
            "OTP-26.2.5.5",
            "OTP-27.1.2",
            "OTP-26.2.5.4",
            "OTP-27.1.1",
            "OTP-25.3.2.14",
            "OTP-26.2.5.3",
            "OTP-26.2",
            "OTP-25.3.2.13",
            "OTP-26.2.5.2",
            "OTP-26.2.5.1",
            "OTP-25.3.2.12",
            "OTP-26.2.4",
            "OTP-25.3.2.11",
            "OTP-25.3.2.10",
            "OTP-25.3.2.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53846.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.824176188Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53846.json",
        "https://github.com/erlang/otp/security/advisories/GHSA-qw6r-qh9v-638v",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53846"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-295"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53846.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53846",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490024,
  "published_at": "2024-12-05T17:02:59.37+00:00"
}