Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-2068

high

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 she…

Vendor / product: Openssl — openssl

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

CVSS
7.3
7.3 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2022-06-21 15:15
Modified: 2026-11-03 22:17
NVD status: Modified
Last synced 10 hours ago
Verified against the source API 2026-11-03 22:24 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

openssl / openssl ≥1.0.2 <1.0.2zf, ≥1.1.1 <1.1.1p, ≥3.0.0 <3.0.4
debian / debian_linux 10.0, 11.0
fedoraproject / fedora 35, 36
siemens / sinec_ins <1.0, 1.0
netapp / element_software all versions
netapp / hci_management_node all versions
netapp / ontap_antivirus_connector all versions
netapp / ontap_select_deploy_administration_utility all versions
netapp / santricity_smi-s_provider all versions
netapp / smi-s_provider all versions
netapp / snapmanager all versions
netapp / solidfire all versions
netapp / bootstrap_os all versions
netapp / h615c_firmware all versions
netapp / h610s_firmware all versions
netapp / h610c_firmware all versions
netapp / h410c_firmware all versions
netapp / h300s_firmware all versions
netapp / h500s_firmware all versions
netapp / h700s_firmware all versions
netapp / h410s_firmware all versions
netapp / fas_8300_firmware all versions
netapp / fas_8700_firmware all versions
netapp / fas_a400_firmware all versions
netapp / aff_8300_firmware all versions
netapp / aff_8700_firmware all versions
netapp / aff_a400_firmware all versions
broadcom / sannav all versions

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://www.openssl.org/news/secadv/20220621.txt
Vendor advisory: https://www.openssl.org/news/secadv/20220621.txt
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2c9c35870601b4a44d86ddbf512b38df38285cfa
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9639817dac8bbbaa64d09efad7464ccc405527c7
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2c9c35870601b4a44d86ddbf512b38df38285cfa
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9
Patch / mitigation: https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9639817dac8bbbaa64d09efad7464ccc405527c7

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-03 22:24 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs