SB2022083105 - Multiple vulnerabilities in wolfSSL



SB2022083105 - Multiple vulnerabilities in wolfSSL

Published: August 31, 2022 Updated: January 20, 2023

Security Bulletin ID SB2022083105
Severity
Medium
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 25% Low 75%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 secuirty vulnerabilities.


1) Improper restriction of software interfaces to hardware features (CVE-ID: CVE-2022-42961)

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to the way wolfSSL handles operations with private ECC keys such as server side TLS connections and creation of ECC signatures. A malicious server can perform fault injection attack on RAM (e.g. using Rowhammer attack) and obtain the ECDSA key.


2) Release of invalid pointer or reference (CVE-ID: N/A)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an invalid free when handling large session tickets with TLS 1.2 and TLS 1.3 connections. A malicious server or attacker with ability to perform MitM attack (only against TLS 1.2 connection) can pass an overly large session ticket to the client and crash the application.

Note, successful exploitation of the vulnerability requires that wolfSSL is compiled with --enable-session-ticket and the client has non-empty session cache.


3) Resource management error (CVE-ID: CVE-2022-38152)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources if using wolfSSL_clear to reset a WOLFSSL object during TLS 1.3 resumption. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.


4) Input validation error (CVE-ID: N/A)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in DTLS 1.2 implementation. A remote attacker can send a malicious plaintext handshake message at epoch 0  and perform a denial of service (DoS) attack. The vulnerability affects both server and client side.


Remediation

Install update from vendor's website.