OpenSSL Multiple Buffer Overflow Vulnerability Notice

OpenSSL Multiple Buffer Overflow Vulnerability Notice

November 2, 2022 | Jie Ji

Overview

On November 2, 2022, NSFOCUS CERT detected that openssl officially released a security notice and fixed multiple buffer overflow vulnerabilities in OpenSSL. OpenSSL is an open source software library package. Applications can use this package to communicate securely, avoid eavesdropping, and confirm the identity of the other end of the connection. It is widely used on web servers on the Internet. Relevant users are requested to take measures to protect them as soon as possible.

OpenSSL Buffer Overflow Vulnerability (CVE-2022-3602):

A buffer overflow vulnerability can be triggered during OpenSSL’s X.509 certificate verification process. After the certificate chain signature is verified, and the CA signs the malicious certificate or the application proceeds with certificate verification, an attacker can craft a malicious email address that overflows four controlled bytes on the stack, resulting in a denial of service or at a specific Execute arbitrary code on the platform. In a TLS client, connecting to a malicious server can trigger the vulnerability. In a TLS server, the vulnerability can be triggered if the server requests client authentication and a malicious client connects.

OpenSSL Buffer Overflow Vulnerability (CVE-2022-3786):

A buffer overflow vulnerability can be triggered during OpenSSL’s X.509 certificate verification process. After the certificate chain signature is verified, and the CA signs the malicious certificate or the application continues certificate verification, an attacker can overflow any number of bytes containing the “.” character (46 decimal) by crafting a malicious email address in the certificate, eventually leading to a denial of service attack. In a TLS client, connecting to a malicious server can trigger this action. In a TLS server, the vulnerability can be triggered if the server requests client authentication and a malicious client connects.

Reference link:

https://www.openssl.org/news/secadv/20221101.txt

Scope of Impact

Affected version

3.0.0 <= OpenSSL <= 3.0.6

Unaffected version

OpenSSL >= 3.0.7

Note: OpenSSL versions below 3.0 are not affected by this vulnerability

Detection

Manual detection

Relevant users can run the following commands to perform version detection to determine whether the current system is at risk:

openssl version

There may be a security risk if the currently used version of OpenSSL is affected.

Mitigation

At present, the official has fixed the vulnerability for the supported version, please update the version for protection as soon as possible for affected users, the official download link:

https://github.com/openssl/openssl/tags

Patch link:

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c42165b5706e42f67ef8ef4c351a9a4c5d21639a

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.