CVE & CISA-KEV Catalog

CVE-2022-2068

HIGHEPSS 100th pctl
7.3
CVSS v3
NVD

Description

In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze).

How to fix

Remediation Available
edk2-aarch64Amazon
Fixed in:0:20200801stable-1.amzn2.0.5
edk2-debuginfoAmazon
Fixed in:0:20200801stable-1.amzn2.0.5
Fixed in:0:20200801stable-1.amzn2.0.5
edk2-ovmfAmazon
Fixed in:0:20200801stable-1.amzn2.0.5
edk2-toolsAmazon
Fixed in:0:20200801stable-1.amzn2.0.5
Fixed in:0:20200801stable-1.amzn2.0.5
edk2-tools-docAmazon
Fixed in:0:20200801stable-1.amzn2.0.5
edk2-tools-pythonAmazon
Fixed in:0:20200801stable-1.amzn2.0.5
opensslAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-debuginfoAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-debugsourceAmazon
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-develAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-libsAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-libs-debuginfoAmazon
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-perlAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
Fixed in:1:3.0.5-1.amzn2023.0.4
openssl-staticAmazon
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
Fixed in:1:1.0.2k-24.amzn2.0.4
openssl11Amazon
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
openssl11-debuginfoAmazon
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
openssl11-develAmazon
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
openssl11-libsAmazon
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
openssl11-staticAmazon
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
Fixed in:1:1.1.1g-12.amzn2.0.9
opensslDebian
Fixed in:3.0.4-1CVE-2022-2068
Fixed in:3.0.4-1CVE-2022-2068
Fixed in:3.0.4-1CVE-2022-2068
ansible-collection-redhat-satelliteRocky
Fixed in:0:3.14.0-1.el8satRHSA-2023:6818
Fixed in:0:3.14.0-1.el8satRHSA-2023:6818
ansible-collection-redhat-satelliteRed Hat / RHEL
Fixed in:0:3.14.0-1.el8satRHSA-2023:6818
Fixed in:0:3.14.0-1.el8satRHSA-2023:6818
ansible-collection-redhat-satellite_operationsRocky
Fixed in:0:2.1.0-1.el8satRHSA-2023:6818
Fixed in:0:2.1.0-1.el8satRHSA-2023:6818
ansible-collection-redhat-satellite_operationsRed Hat / RHEL
Fixed in:0:2.1.0-1.el8satRHSA-2023:6818
Fixed in:0:2.1.0-1.el8satRHSA-2023:6818
ansible-lintRed Hat / RHEL
Fixed in:0:5.0.8-4.el8pcRHSA-2023:6818
Fixed in:0:5.0.8-4.el8pcRHSA-2023:6818
ansible-lintRocky
Fixed in:0:5.0.8-4.el8pcRHSA-2023:6818
Fixed in:0:5.0.8-4.el8pcRHSA-2023:6818
ansible-runnerRocky
Fixed in:0:2.2.1-3.el8satRHSA-2023:6818
Fixed in:0:2.2.1-3.el8satRHSA-2023:6818
ansible-runnerRed Hat / RHEL
Fixed in:0:2.2.1-3.el8satRHSA-2023:6818
Fixed in:0:2.2.1-3.el8satRHSA-2023:6818
ansiblerole-foreman_scap_clientRocky
Fixed in:0:0.2.0-2.el8satRHSA-2023:6818
Fixed in:0:0.2.0-2.el8satRHSA-2023:6818
ansiblerole-foreman_scap_clientRed Hat / RHEL
Fixed in:0:0.2.0-2.el8satRHSA-2023:6818
Fixed in:0:0.2.0-2.el8satRHSA-2023:6818

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

95.40%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

References

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2020-9054Critical9.8100%KEVFix

Common questions

How do I fix CVE-2022-2068?

Published advisories record a fix for 1643 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-2068 being actively exploited?

Not that we know of. CVE-2022-2068 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 95.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 100% of all scored CVEs.

How severe is CVE-2022-2068?

CVE-2022-2068 has a CVSS v3 base score of 7.3, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-2068 affect?

Published advisories record a fix for edk2-aarch64 (Amazon), edk2-debuginfo (Amazon), edk2-ovmf (Amazon), edk2-tools (Amazon), and 1639 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-2068
CVE-2022-2068 severity badge

Markdown

[![CVE-2022-2068](https://tridentstack.com/cve/badge/CVE-2022-2068.svg)](https://tridentstack.com/cve/CVE-2022-2068)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-2068"><img src="https://tridentstack.com/cve/badge/CVE-2022-2068.svg" alt="CVE-2022-2068"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.