Skip to content
Heist/ feed
Back to feed
HighFix available

X.509 Email Address 4-byte Buffer Overflow

Type: advisorySources: OSV

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).

Products
node-min
Affected versions
Not specified
Fixed versions
18.11.0, 18.12.1, 19.0.1
CVEs
CVE-2022-3602
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 19:54 UTC · Revision 1

Source evidence

X.509 Email Address 4-byte Buffer Overflow

core-osv · Original source

Published 16 Dec 2024, 14:01 UTC

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).

osv:BIT-node-min-2022-3602

node-min

Fixed versions: 18.11.0, 18.12.1, 19.0.1

Complete source record
{
  "id": "8db00d111d818215ffe16e0fe98c486137404b664de0133ac8c23c70a8b4c4f2",
  "url": "https://osv.dev/vulnerability/BIT-node-min-2022-3602",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "X.509 Email Address 4-byte Buffer Overflow",
    "summary": "A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).",
    "evidence": "osv:BIT-node-min-2022-3602",
    "products": [
      {
        "name": {
          "value": "node-min",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "18.11.0",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "18.12.1",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "19.0.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-node-min-2022-3602",
      "aliases": [
        "BIT-node-2022-3602",
        "BIT-node-min-2022-3602",
        "CVE-2022-3602",
        "GHSA-8rwr-x37p-mx23",
        "RUSTSEC-2022-0064"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "18.0.0"
                },
                {
                  "fixed": "18.11.0"
                },
                {
                  "introduced": "18.12.0"
                },
                {
                  "fixed": "18.12.1"
                },
                {
                  "introduced": "19.0.0"
                },
                {
                  "fixed": "19.0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-min",
            "purl": "pkg:bitnami/node-min",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/node-min/BIT-node-min-2022-3602.json"
          }
        }
      ],
      "modified": "2026-10-16T09:45:30.956778392Z",
      "provider": "osv",
      "references": [
        "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=fe3b639dc19b325846f4f6801f2f4604f56e3de3",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6S/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS/",
        "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023",
        "https://security.gentoo.org/glsa/202211-01",
        "https://security.netapp.com/advisory/ntap-20221102-0001/",
        "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2a",
        "https://www.kb.cert.org/vuls/id/794340",
        "https://www.openssl.org/news/secadv/20221101.txt",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3602",
        "https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00789.html"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
          "cpe:2.3:a:nodejs:node.js:18.12.0:*:*:*:lts:*:*:*",
          "cpe:2.3:a:nodejs:node.js:19.0.0:*:*:*:-:*:*:*",
          "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3602",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338482,
  "published_at": "2024-12-16T14:01:20.33+00:00"
}