PT-2022-2685 · Openssl+6 · Openssl+6

Raul Metsma

·

Published

2022-04-06

·

Updated

2024-06-15

·

CVE-2022-1343

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions OpenSSL versions 3.0.0 through 3.0.2
Description The issue is related to the function OCSP basic verify in the OpenSSL library, which verifies the signer certificate on an OCSP response. When the non-default flag OCSP NOCHECKS is used, the response will be positive even if the response signing certificate fails to verify. This can allow a remote attacker to implement a "man-in-the-middle" attack. The command line OpenSSL "ocsp" application is also impacted when verifying an OCSP response with the "-no cert checks" option.
Recommendations For OpenSSL versions 3.0.0 through 3.0.2, update to OpenSSL 3.0.3 to fix the issue. As a temporary workaround, consider avoiding the use of the OCSP NOCHECKS flag in the OCSP basic verify function until a patch is available. Restrict access to the command line OpenSSL "ocsp" application to minimize the risk of exploitation when verifying OCSP responses with the "-no cert checks" option.

Exploit

Fix

Improper Certificate Validation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:6224
BDU:2022-03175
CVE-2022-1343
GHSA-MFM6-R9G2-Q4R7
OPENSUSE-SU-2022_2306-1
OPENSUSE-SU-2024:12204-1
RHSA-2022:6224
RHSA-2022_6224
RUSTSEC-2022-0027
SUSE-SU-2022:2306-1
USN-5402-1

Affected Products

Almalinux
Linuxmint
Openssl
Red Hat
Red Os
Suse
Ubuntu