cve.bz

CVE-2022-1343 Improper Certificate Validation

5.3 mediumEPSS 2.2%Fix available

Medium (5.3). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in openssl-src 300.0.6.

On this page
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).

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1343 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1343?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1343?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1343 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-1343

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-1343](https://cve.bz/cve/badge/CVE-2022-1343.svg)](https://cve.bz/cve/CVE-2022-1343)

HTML:

<a href="https://cve.bz/cve/CVE-2022-1343"><img src="https://cve.bz/cve/badge/CVE-2022-1343.svg" alt="CVE-2022-1343"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openssl:opensslfrom 3.0.0 before 3.0.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mfm6-r9g2-q4r7crates.ioopenssl-src>=300.0.0 <300.0.6300.0.6
RUSTSEC-2022-0027crates.ioopenssl-src>=300.0.0 <300.0.6300.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.17USN-5402-1
Ubuntu18.04:LTSopenssl1.01.0.2n-1ubuntu5.9USN-5402-1
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.13USN-5402-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.1UBUNTU-CVE-2022-1343 USN-5402-1
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.1-41.el9_0RHSA-2022:6224
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.1-41.el9_0RHSA-2022:6224
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.7.1SUSE-SU-2022:2306-1
openSUSELeap 15.4openssl-33.0.1-150400.4.7.1SUSE-SU-2022:2306-1
openSUSETumbleweedopenssl-33.0.5-1.1openSUSE-SU-2024:12204-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.1-41.el9_0ALSA-2022:6224
Alpinev3.15, v3.16openssl33.0.3-r0ALPINE-CVE-2022-1343
Alpinev3.17, v3.18, v3.19 and 5 moreopenssl3.0.3-r0ALPINE-CVE-2022-1343

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw impact has been rated Moderate because the configuration required for it to occur is non-default, not common, and there is still an indication of failure at the CLI for the OCSP application.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.1-41.el9_0Fixed 2022-08-30RHSA-2022:6224
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-opensslNot affected
Red Hat JBoss Web Server 3opensslNot affected
Red Hat OpenShift Container Platform 4opensslNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1343.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed
ICSA-23-166-12Siemens SINAMICS Medium Voltage Products2023-06-13MultipleSINAMICS PERFECT HARMONY GH180 6SR5none listed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 morenone listed
ICSA-23-047-03Siemens Brownfield Connectivity Client2023-02-14MultipleBrownfield Connectivity - Clientnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON