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
opensslDebian
Fixed in:1.1.1n-0+deb11u3CVE-2022-2068
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-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-satelliteRocky
Fixed in:0:3.14.0-1.el8satRHSA-2023:6818
Fixed in:0:3.14.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-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-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_clientRed Hat / RHEL
Fixed in:0:0.2.0-2.el8satRHSA-2023:6818
Fixed in:0:0.2.0-2.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-insights-clientRocky
Fixed in:0:1.7.1-2.el8satRHSA-2023:6818
Fixed in:0:1.7.1-2.el8satRHSA-2023:6818
ansiblerole-insights-clientRed Hat / RHEL
Fixed in:0:1.7.1-2.el8satRHSA-2023:6818
Fixed in:0:1.7.1-2.el8satRHSA-2023:6818
candlepinRed Hat / RHEL
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
candlepinRocky
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
candlepin-selinuxRocky
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
candlepin-selinuxRed Hat / RHEL
Fixed in:0:4.3.1-1.el8satRHSA-2023:6818
cjsonRocky
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
cjsonRed Hat / RHEL
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
cjson-debuginfoRed Hat / RHEL
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
cjson-debuginfoRocky
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
cjson-debugsourceRocky
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
cjson-debugsourceRed Hat / RHEL
Fixed in:0:1.7.14-5.el8satRHSA-2023:6818
createrepo_cRed Hat / RHEL
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_cRocky
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_c-debuginfoRocky
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_c-debuginfoRed Hat / RHEL
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_c-debugsourceRed Hat / RHEL
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_c-debugsourceRocky
Fixed in:0:0.20.1-1.el8pcRHSA-2023:6818
createrepo_c-libsRed Hat / RHEL
Fixed in:0:0.20.1-1.el8pcRHSA-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

96.28%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 1624 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 96.3% 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 openssl (Debian), ansible-collection-redhat-satellite (Red Hat / RHEL), ansible-collection-redhat-satellite (Rocky), ansible-collection-redhat-satellite_operations (Red Hat / RHEL), and 1620 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>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart 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 2025-11-03.