Exploit database

Vulnerability

CVE-2022-3602

X.509 Email Address 4-byte Buffer Overflow

Vulnerability details

Score
7.5
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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

CVE Program

Exploit source choices

8 sources
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub sourcePreferred

使用 Github Actions 跟踪 Github 趋势项目。

2022-08-0955 files · 213 stars
colmmacc/cve-2022-3602
GH-d14f754ecbd562959226223a79a9265dGitHubUnofficial GitHub source

colmmacc/cve-2022-3602 source repository

2022-10-305 files · 171 stars
eatscrayon/cve-2022-3602-poc
GH-2250b1a3fd1bcbd7401206716dfdae47GitHubUnofficial GitHub source

eatscrayon/cve-2022-3602-poc source repository

2022-10-312 files · 13 stars
attilaszia/cve-2022-3602
GH-f7f0070bcc0a7a079750c4f22e9a9015GitHubUnofficial GitHub source

cve-2022-3602 poc

2022-11-018 files · 3 stars
alicangnll/spookyssl-scanner
GH-c42164a23f5b1016504c7ba6ca9c7d2fGitHubUnofficial GitHub source

SpookySSL CVE-2022-3602 SSLv3 Scanner for Windows, Linux, macOS

2022-11-024 files · 1 stars
async-knightbgt7/pypinksign
GH-ccce1ea4a0db3be46395d9f57dafcd0cGitHubUnofficial GitHub source

async-knightbgt7/pypinksign source repository

2025-09-2812 files · 0 stars