Every CVE Search/ Get API key

CVE-2022-1343

OCSP_basic_verify may incorrectly verify the response signing certificate

5.3 MediumFix available

CVE-2022-1343 is a medium vulnerability (CVSS 5.3) in Openssl, published May 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in openssl-src 300.0.6.

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

2.14%Up 1.3 points since May 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.3

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-295
Updated
2026-11-02
CVE List 5.3

OCSP_basic_verify may incorrectly verify the response signing certificate

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-295
Updated
2026-11-02
EUVDEUVD-2022-4552 5.3

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
EUVD-2022-4552
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-mfm6-r9g2-q4r7 5.3

`OCSP_basic_verify` may incorrectly verify the response signing certificate

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
GHSA-mfm6-r9g2-q4r7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-295
Updated
2026-11-02
OSVALPINE-CVE-2022-1343 5.3

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
ALPINE-CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-03
OSVBELL-CVE-2022-1343 5.3

CVE-2022-1343 does not affect BellSoft software

Record
BELL-CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
Show 9 moreShow less
OSV 5.3

OCSP_basic_verify may incorrectly verify the response signing certificate

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-mfm6-r9g2-q4r7 5.3

`OCSP_basic_verify` may incorrectly verify the response signing certificate

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
GHSA-mfm6-r9g2-q4r7
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-295
Updated
2026-11-02
OSVRHSA-2022:6224 7.5

Red Hat Security Advisory: openssl security and bug fix update

Record
RHSA-2022:6224
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRUSTSEC-2022-0027 5.3

`OCSP_basic_verify` may incorrectly verify the response signing certificate

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify.

It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0.

Record
RUSTSEC-2022-0027
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2022-1343 5.3

The function OCSP_basic_verify verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. It is anticipated that most users of OCSP_basic_verify will not use the OCSP_NOCHECKS flag. In this case the OCSP_basic_verify function will return a negative value (indicating a fatal error) in the case of a certificate verification failure. The normal expected return value in this case would be 0. This issue also impacts the command line OpenSSL "ocsp" application. When verifying an ocsp response with the "-no_cert_checks" option the command line application will report that the verification is successful even though it has in fact failed. In this case the incorrect successful response will also be accompanied by error messages showing the failure and contradicting the apparently successful result. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2).

Record
UBUNTU-CVE-2022-1343
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVALSA-2022:6224 No score

Moderate: openssl security and bug fix update

OpenSSL is a toolkit that implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols, as well as a full-strength general-purpose cryptography library. Security Fix(es):

  • openssl: c_rehash script allows command injection (CVE-2022-1292)
  • openssl: Signer certificate verification returns inaccurate response when using OCSP_NOCHECKS (CVE-2022-1343)
  • openssl: OPENSSL_LH_flush() breaks reuse of memory (CVE-2022-1473)
  • openssl: the c_rehash script allows command injection (CVE-2022-2068)
  • openssl: AES OCB fails to encrypt some bytes (CVE-2022-2097) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Bug Fix(es):
  • openssl occasionally sends internal error to gnutls when using FFDHE (BZ#2080323)
  • openssl req defaults to 3DES (BZ#2085499)
  • OpenSSL accepts custom elliptic curve parameters when p is large [almalinux-9] (BZ#2085508)
  • OpenSSL mustn't work with ECDSA with explicit curve parameters in FIPS mode (BZ#2085521)
  • openssl s_server -groups secp256k1 in FIPS fails because X25519/X448 (BZ#2086554)
  • Converting FIPS power-on self test to KAT (BZ#2086866)
  • Small RSA keys work for some operations in FIPS mode (BZ#2091938)
  • FIPS provider doesn't block RSA encryption for key transport (BZ#2091977)
  • OpenSSL testsuite certificates expired (BZ#2095696)
  • [IBM 9.1 HW OPT] POWER10 performance enhancements for cryptography: OpenSSL (BZ#2103044)
  • [FIPS lab review] self-test (BZ#2112978)
  • [FIPS lab review] DH tuning (BZ#2115856)
  • [FIPS lab review] EC tuning (BZ#2115857)
  • [FIPS lab review] RSA tuning (BZ#2115858)
  • [FIPS lab review] RAND tuning (BZ#2115859)
  • [FIPS lab review] zeroization (BZ#2115861)
  • [FIPS lab review] HKDF limitations (BZ#2118388)
Record
ALSA-2022:6224
Updated
2026-11-02
OSVopenSUSE-SU-2024:12204-1 No score

libopenssl-3-devel-3.0.5-1.1 on GA media

These are all security issues fixed in the libopenssl-3-devel-3.0.5-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12204-1
Updated
2026-11-02
OSVSUSE-SU-2022:2306-1 No score

Security update for openssl-3

This update for openssl-3 fixes the following issues:

  • CVE-2022-2068: Fixed more shell code injection issues in c_rehash. (bsc#1200550)
  • CVE-2022-1292: Properly sanitise shell metacharacters in c_rehash script. (bsc#1199166)
  • CVE-2022-1343: Fixed incorrect signature verification in OCSP_basic_verify (bsc#1199167).
  • CVE-2022-2097: Fixed partial missing encryption in AES OCB mode (bsc#1201099).
  • CVE-2022-1434: Fixed incorrect MAC key used in the RC4-MD5 ciphersuite (bsc#1199168).
  • CVE-2022-1473: Fixed resource leakage when decoding certificates and keys (bsc#1199169).
Record
SUSE-SU-2022:2306-1
Updated
2026-11-02
OSVUSN-5402-1 No score

openssl, openssl1.0 vulnerabilities

Elison Niven discovered that OpenSSL incorrectly handled the c_rehash script. A local attacker could possibly use this issue to execute arbitrary commands when c_rehash is run. (CVE-2022-1292)

Raul Metsma discovered that OpenSSL incorrectly verified certain response signing certificates. A remote attacker could possibly use this issue to spoof certain response signing certificates. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1343)

Tom Colley discovered that OpenSSL used the incorrect MAC key in the RC4-MD5 ciphersuite. In non-default configurations were RC4-MD5 is enabled, a remote attacker could possibly use this issue to modify encrypted communications. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1434)

Aliaksei Levin discovered that OpenSSL incorrectly handled resources when decoding certificates and keys. A remote attacker could possibly use this issue to cause OpenSSL to consume resources, leading to a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1473)

Record
USN-5402-1
Updated
2026-11-02

Affected products

Show 19 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
openssl-src
crates.io
300.0.0 up to 300.0.6
300.0.6
openssl
Alpine:v3.17
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.18
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.19
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.20
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.21
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.22
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.23
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl
Alpine:v3.24
3.0.0 up to 3.0.3-r0
3.0.3-r0
openssl3
Alpine:v3.15
before 3.0.3-r0
3.0.3-r0
Show 22 moreShow less
Affected packages
PackageAffectedFixed
openssl3
Alpine:v3.16
before 3.0.3-r0
3.0.3-r0
openssl
AlmaLinux:9
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-devel
AlmaLinux:9
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-libs
AlmaLinux:9
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-perl
AlmaLinux:9
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-debuginfo
Red Hat:enterprise_linux:9::appstream
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-debugsource
Red Hat:enterprise_linux:9::appstream
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-devel
Red Hat:enterprise_linux:9::appstream
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-libs-debuginfo
Red Hat:enterprise_linux:9::appstream
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-perl
Red Hat:enterprise_linux:9::appstream
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl
Red Hat:enterprise_linux:9::baseos
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-debuginfo
Red Hat:enterprise_linux:9::baseos
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-debugsource
Red Hat:enterprise_linux:9::baseos
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-libs
Red Hat:enterprise_linux:9::baseos
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-libs-debuginfo
Red Hat:enterprise_linux:9::baseos
before 1:3.0.1-41.el9_0
1:3.0.1-41.el9_0
openssl-3
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 3.0.1-150400.4.7.1
3.0.1-150400.4.7.1
openssl-3
openSUSE:Leap 15.4
before 3.0.1-150400.4.7.1
3.0.1-150400.4.7.1
openssl
Ubuntu:22.04:LTS
before 3.0.2-0ubuntu1.1, plus listed versions
1.1.1l-1ubuntu13.0.0-1ubuntu13.0.1-0ubuntu13.0.2-0ubuntu1
3.0.2-0ubuntu1.1
openssl
Ubuntu:18.04:LTS
before 1.1.1-1ubuntu2.1~18.04.17, plus listed versions
1.0.2g-1ubuntu131.0.2g-1ubuntu141.0.2n-1ubuntu11.1.0g-2ubuntu11.1.0g-2ubuntu2
Show 17 moreShow less
1.1.0g-2ubuntu31.1.0g-2ubuntu41.1.0g-2ubuntu4.11.1.0g-2ubuntu4.31.1.1-1ubuntu2.1~18.04.11.1.1-1ubuntu2.1~18.04.21.1.1-1ubuntu2.1~18.04.31.1.1-1ubuntu2.1~18.04.41.1.1-1ubuntu2.1~18.04.51.1.1-1ubuntu2.1~18.04.61.1.1-1ubuntu2.1~18.04.71.1.1-1ubuntu2.1~18.04.81.1.1-1ubuntu2.1~18.04.91.1.1-1ubuntu2.1~18.04.101.1.1-1ubuntu2.1~18.04.131.1.1-1ubuntu2.1~18.04.141.1.1-1ubuntu2.1~18.04.15
1.1.1-1ubuntu2.1~18.04.17
openssl1.0
Ubuntu:18.04:LTS
before 1.0.2n-1ubuntu5.9, plus listed versions
1.0.2n-1ubuntu21.0.2n-1ubuntu31.0.2n-1ubuntu41.0.2n-1ubuntu51.0.2n-1ubuntu5.1
Show 7 moreShow less
1.0.2n-1ubuntu5.21.0.2n-1ubuntu5.31.0.2n-1ubuntu5.41.0.2n-1ubuntu5.51.0.2n-1ubuntu5.61.0.2n-1ubuntu5.71.0.2n-1ubuntu5.8
1.0.2n-1ubuntu5.9
openssl
Ubuntu:20.04:LTS
before 1.1.1f-1ubuntu2.13, plus listed versions
1.1.1c-1ubuntu41.1.1d-2ubuntu31.1.1d-2ubuntu61.1.1f-1ubuntu11.1.1f-1ubuntu2
Show 10 moreShow less
1.1.1f-1ubuntu2.11.1.1f-1ubuntu2.21.1.1f-1ubuntu2.31.1.1f-1ubuntu2.41.1.1f-1ubuntu2.51.1.1f-1ubuntu2.81.1.1f-1ubuntu2.91.1.1f-1ubuntu2.101.1.1f-1ubuntu2.111.1.1f-1ubuntu2.12
1.1.1f-1ubuntu2.13
openssl-3
openSUSE:Tumbleweed
before 3.0.5-1.1
3.0.5-1.1

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 85 moreShow less
MoveEnter Open