CVE-2022-2068

HIGHCVSS 7.3/10EPSS 95.76%

Last modified

CVE-2022-2068 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 95.76% chance of exploitation in the next 30 days.

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).

Metrics

CVSS 3.1
7.3/10

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

EPSS Probability
95.76%

99.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpensslOpenssl>= 1.0.2, < 1.0.2zf
OpensslOpenssl>= 1.1.1, < 1.1.1p
OpensslOpenssl>= 3.0.0, < 3.0.4
DebianDebian Linux10.0
DebianDebian Linux11.0
FedoraprojectFedora35
FedoraprojectFedora36
SiemensSinec Ins< 1.0
SiemensSinec Ins1.0
NetappElement SoftwareAll versions
NetappHci Management NodeAll versions
NetappOntap Antivirus ConnectorAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSantricity Smi-S ProviderAll versions
NetappSmi-S ProviderAll versions
NetappSnapmanagerAll versions
NetappSolidfireAll versions
NetappBootstrap OsAll versions
NetappH615c FirmwareAll versions
NetappH610s FirmwareAll versions
NetappH610c FirmwareAll versions
NetappH410c FirmwareAll versions
NetappH300s FirmwareAll versions
NetappH500s FirmwareAll versions
NetappH700s FirmwareAll versions
NetappH410s FirmwareAll versions
NetappFas 8300 FirmwareAll versions
NetappFas 8700 FirmwareAll versions
NetappFas A400 FirmwareAll versions
NetappAff 8300 FirmwareAll versions
NetappAff 8700 FirmwareAll versions
NetappAff A400 FirmwareAll versions
BroadcomSannavAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-2068?
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 severe is CVE-2022-2068?
CVE-2022-2068 has a CVSS score of 7.3/10 (HIGH severity). The EPSS model estimates a 95.76% probability of exploitation in the next 30 days.
How do I fix CVE-2022-2068?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-2068?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST