CVE-2022-2068
HIGH 7.3CVSS 3.1In 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).
- Published
- 21 Jun 2022
- Last modified
- 3 Nov 2026
- Assigned by
- openssl-security@openssl.org
- NVD status
- Modified
- Weakness
- CWE-78
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 1.0.2, < 1.0.2zf | 1.0.2zf |
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 1.1.1, < 1.1.1p | 1.1.1p |
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.4 | 3.0.4 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:* |
< 1.0 | 1.0 |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp2:*:*:*:*:*:* |
= 1.0 | |
| NVD | netapp | element_softwarecpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | hci_management_nodecpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | ontap_antivirus_connectorcpe:2.3:a:netapp:ontap_antivirus_connector:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | ontap_select_deploy_administration_utilitycpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | santricity_smi-s_providercpe:2.3:a:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | smi-s_providercpe:2.3:a:netapp:smi-s_provider:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | snapmanagercpe:2.3:a:netapp:snapmanager:-:*:*:*:*:hyper-v:*:* |
(no version) | |
| NVD | netapp | solidfirecpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | bootstrap_oscpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h615c_firmwarecpe:2.3:o:netapp:h615c_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h610s_firmwarecpe:2.3:o:netapp:h610s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h610c_firmwarecpe:2.3:o:netapp:h610c_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410c_firmwarecpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h300s_firmwarecpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h500s_firmwarecpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h700s_firmwarecpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410s_firmwarecpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | fas_8300_firmwarecpe:2.3:o:netapp:fas_8300_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | fas_8700_firmwarecpe:2.3:o:netapp:fas_8700_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | fas_a400_firmwarecpe:2.3:o:netapp:fas_a400_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | aff_8300_firmwarecpe:2.3:o:netapp:aff_8300_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | aff_8700_firmwarecpe:2.3:o:netapp:aff_8700_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | aff_a400_firmwarecpe:2.3:o:netapp:aff_a400_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | broadcom | sannavcpe:2.3:a:broadcom:sannav:-:*:*:*:*:*:*:* |
(no version) |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf · Third Party Advisory
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2c9c35870601b4a44d86ddbf512b38df38285cfa · Patch
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9 · Patch
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9639817dac8bbbaa64d09efad7464ccc405527c7 · Patch
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/ · Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/ · Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0008/ · Third Party Advisory
- https://www.debian.org/security/2022/dsa-5169 · Third Party Advisory
- https://www.openssl.org/news/secadv/20220621.txt · Vendor 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Jun 2022)