🛡️ CVE-2022-3786 on Alpine — nodejs

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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

security.alpinelinux.org (Advisory)

CVE-2022-3786 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2022-11-01
Updated 2026-08-11
Modified 2026-07-08
Fix URL N/A

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

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.