🛡️ CVE-2022-3786 on Alpine — nodejs
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 a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). 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.
Distribution advisory
This page covers CVE-2022-3786 as tracked by Alpine, for the package nodejs. The fix is available in version 18.12.1-r0; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
ALPINE-CVE-2022-3786 is recorded against 3 packages.
- nodejs (fixed in 18.12.1-r0)
- openssl (from 3.0.0 up to 3.0.7-r0)
- openssl3 (fixed in 3.0.7-r0)
Timeline and source
Published on 1 November 2022 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-3786 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nodejs | — | 18.12.1-r0 |
| openssl | 3.0.0 | 3.0.7-r0 |
| openssl3 | — | 3.0.7-r0 |
References
Similar Threats
- Unknown ALPINE-CVE-2022-32212
- Unknown ALPINE-CVE-2022-32213
- Unknown ALPINE-CVE-2022-32214
- Unknown ALPINE-CVE-2022-32215
- Unknown ALPINE-CVE-2021-44531
More ALPINE CVE 2022 advisories
Browse all of ALPINE CVE 2022 in the advisory index.
- ALPINE-CVE-2022-3599
- ALPINE-CVE-2022-3602
- ALPINE-CVE-2022-3626
- ALPINE-CVE-2022-3627
- ALPINE-CVE-2022-3638
- ALPINE-CVE-2022-3647
- ALPINE-CVE-2022-3705
- ALPINE-CVE-2022-3736
- ALPINE-CVE-2022-3924
- ALPINE-CVE-2022-3970
- ALPINE-CVE-2022-3996
- ALPINE-CVE-2022-4141
- ALPINE-CVE-2022-4203
- ALPINE-CVE-2022-4292
- ALPINE-CVE-2022-4293
- ALPINE-CVE-2022-4304
Site Security Check
Is nodejs part of your stack?
ALPINE-CVE-2022-3786 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.