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.
Do this next
Free account, 1 product
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
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
- https://www.openssl.org/news/secadv/20220621.txtvendor-advisory
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2c9c35870601b4a44d86ddbf512b38df38285cfapatch
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9639817dac8bbbaa64d09efad7464ccc405527c7patch
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9patch
- https://www.debian.org/security/2022/dsa-5169vendor-advisory, third-party-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/vendor-advisory, mailing-list, third-party-advisory
- https://security.netapp.com/advisory/ntap-20220707-0008/third-party-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/vendor-advisory, mailing-list, third-party-advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfthird-party-advisory
- http://seclists.org/fulldisclosure/2024/Nov/0
- https://gitlab.com/fraf0/cve-2022-1292-re_score-analysis
- https://cert-portal.siemens.com/productcert/html/ssa-146325.html
- https://cert-portal.siemens.com/productcert/html/ssa-332410.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
The CVE record on cve.org NVD's entry
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.