Back to CVE records
Critical 9.8Published Jun 21, 2022

CVE-2022-2068The c_rehash script allows command injection

Updated under an hour ago ()

Does this affect you?

It affects OpenSSL and 31 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
openssl
NVD analysis
Modified
Record last updated
Oct 14, 2026
First seen by InfoSec Signals
Oct 14, 2026

Affected products

Affected products
OpenSSL OpenSSL
openssl:openssl (from the name)
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)
CNA record
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
siemens:simatic_s7_1500_cpu_1518f_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
before V1.1
CISA ADP
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
siemens:siplus_s7_1500_cpu_1518_4_pn_dp_mfp (from the name)
from V3.1.0 before V3.1.5
CISA ADP
openssl openssl
openssl:openssl
from 1.0.2 before 1.0.2zf; from 1.1.1 before 1.1.1p; from 3.0.0 before 3.0.4
NVD
debian debian_linux
debian:debian_linux
10.0; 11.0
NVD
fedoraproject fedora
fedoraproject:fedora
35; 36
NVD
siemens sinec_ins
siemens:sinec_ins
before 1.0; 1.0; 1.0; 1.0
NVD
netapp element_software
netapp:element_software
all versions
NVD
netapp hci_management_node
netapp:hci_management_node
all versions
NVD
netapp ontap_antivirus_connector
netapp:ontap_antivirus_connector
all versions
NVD
netapp ontap_select_deploy_administration_utility
netapp:ontap_select_deploy_administration_utility
all versions
NVD
netapp santricity_smi-s_provider
netapp:santricity_smi-s_provider
all versions
NVD
netapp smi-s_provider
netapp:smi-s_provider
all versions
NVD
netapp snapmanager
netapp:snapmanager
all versions
NVD
netapp solidfire
netapp:solidfire
all versions
NVD
netapp bootstrap_os
netapp:bootstrap_os
all versions
NVD
netapp h615c_firmware
netapp:h615c_firmware
all versions
NVD
netapp h610s_firmware
netapp:h610s_firmware
all versions
NVD
netapp h610c_firmware
netapp:h610c_firmware
all versions
NVD
netapp h410c_firmware
netapp:h410c_firmware
all versions
NVD
netapp h300s_firmware
netapp:h300s_firmware
all versions
NVD
netapp h500s_firmware
netapp:h500s_firmware
all versions
NVD
netapp h700s_firmware
netapp:h700s_firmware
all versions
NVD
netapp h410s_firmware
netapp:h410s_firmware
all versions
NVD
netapp fas_8300_firmware
netapp:fas_8300_firmware
all versions
NVD
netapp fas_8700_firmware
netapp:fas_8700_firmware
all versions
NVD
netapp fas_a400_firmware
netapp:fas_a400_firmware
all versions
NVD
netapp aff_8300_firmware
netapp:aff_8300_firmware
all versions
NVD
netapp aff_8700_firmware
netapp:aff_8700_firmware
all versions
NVD
netapp aff_a400_firmware
netapp:aff_a400_firmware
all versions
NVD
broadcom sannav
broadcom:sannav
all versions
NVD

References

  • vendor-advisory
  • patch
  • patch
  • patch
  • vendor-advisory, third-party-advisory
  • vendor-advisory, mailing-list, third-party-advisory
  • third-party-advisory
  • vendor-advisory, mailing-list, third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.