Multiple vulnerabilities in wolfSSL



Published: 2022-08-31 | Updated: 2023-01-20
Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2022-42961
CVE-2022-38152
CWE-ID CWE-1256
CWE-763
CWE-399
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
wolfSSL
Universal components / Libraries / Libraries used by multiple products

Vendor wolfSSL

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Improper restriction of software interfaces to hardware features

EUVDB-ID: #VU66876

Risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-42961

CWE-ID: CWE-1256 - Improper restriction of software interfaces to hardware features

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

wolfSSL: 5.0.0 - 5.4.0

External links

http://github.com/wolfSSL/wolfssl/releases/tag/v5.5.0-stable


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Release of invalid pointer or reference

EUVDB-ID: #VU66877

Risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-763 - Release of invalid pointer or reference

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

wolfSSL: 5.3.0 - 5.4.0

External links

http://github.com/wolfSSL/wolfssl/releases/tag/v5.5.0-stable


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Resource management error

EUVDB-ID: #VU66878

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-38152

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

wolfSSL: 5.0.0 - 5.4.0

External links

http://github.com/wolfSSL/wolfssl/releases/tag/v5.5.0-stable


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Input validation error

EUVDB-ID: #VU66879

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

wolfSSL: 5.0.0 - 5.4.0

External links

http://github.com/wolfSSL/wolfssl/releases/tag/v5.5.0-stable


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###