Buffer Overflow Affecting openssl-src package, versions >=300.0.0 <300.0.11


0.0
high

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.12% (46th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.9 medium
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-OPENSSLSRC-3092616
  • published 1 Nov 2022
  • disclosed 1 Nov 2022
  • credit Viktor Dukhovni

How to fix?

Upgrade openssl-src to version 300.0.11 or higher.

Overview

openssl-src is a crate that contains the logic to build OpenSSL and is intended to be consumed by the openssl-sys crate.

Affected versions of this package are vulnerable to Buffer Overflow. 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 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).

A full break down of this vulnerability can be found in our technical deep dive.

NOTE: The Node.js project has announced that 18.x and 19.x releases are affected, and fixed versions are expected on or soon after November 3. This advisory will be updated accordingly when they are released.

Changelog

November 1, 2022 - Advisory published.

November 2, 2022 - Node.js listed as affected, in advance of fix.

November 5, 2022 - Node.js fixed versions added.