CVE-2022-2068
published critical CVSS 3.1 · 9.8The c_rehash script allows command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSSL | — | OpenSSLFixed 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) | Affected | Not stated | openssl |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1831 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1832 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | openssl | Advisory build | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| Alpine Linux | edge | openssl | Fixed | 0 | Package fix record |
Show 104 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2502 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2OPENSSL-SNAPSAFE-2023-001 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-051 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | openssl | Advisory build | 1.1.1n-0+deb11u3 | DSA-5169-1 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Red Hat Enterprise Linux | RHEL-8 | opensslaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| AlmaLinux | 8 | openssl-devel | Advisory build | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux | 8 | openssl-libs | Advisory build | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux | 8 | openssl-perl | Advisory build | 1:1.1.1k-7.el8_6 | ALSA-2022:5818 |
| AlmaLinux | 9 | openssl | Advisory build | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux | 9 | openssl-devel | Advisory build | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux | 9 | openssl-libs | Advisory build | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| AlmaLinux | 9 | openssl-perl | Advisory build | 1:3.0.1-41.el9_0 | ALSA-2022:6224 |
| Alpine Linux | v3.13 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.14 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.15 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.15 | openssl3 | Fixed | 0 | Package fix record |
| Alpine Linux | v3.16 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.16 | openssl3 | Fixed | 0 | Package fix record |
| Alpine Linux | v3.17 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.17 | openssl1.1-compat | Fixed | 0 | Package fix record |
| Alpine Linux | v3.18 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.18 | openssl1.1-compat | Fixed | 0 | Package fix record |
| Alpine Linux | v3.19 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.20 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.21 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.22 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.23 | openssl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.24 | openssl | Fixed | 0 | Package fix record |
| Debian | buster | openssl | Advisory build | 1.1.1n-0+deb10u3 | DSA-5169-1 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-debugsourceaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | ELSA-2022-5818 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 8 | openssl-staticaarch64 | Advisory build | 2:1.1.1k-7.ksplice1.el8_6 | ELSA-2022-9683 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 1:3.0.1-41.0.1.el9_0 | ELSA-2022-6224 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 2:3.0.1-41.0.1.ksplice1.el9_0 | ELSA-2022-9751 |
| Red Hat Enterprise Linux | RHEL-8 | opensslppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssls390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | opensslsrc | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | opensslx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfoaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfoi686 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfoppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfos390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debuginfox86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debugsourceaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debugsourcei686 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debugsourceppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debugsources390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-debugsourcex86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-develaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-develi686 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-develppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-devels390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-develx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libsaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libsi686 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libsppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libss390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libsx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libs-debuginfoaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libs-debuginfoi686 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libs-debuginfoppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libs-debuginfos390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-libs-debuginfox86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-perlaarch64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-perlppc64le | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-perls390x | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-8 | openssl-perlx86_64 | Advisory build | 1:1.1.1k-7.el8_6 | RHSA-2022:5818 |
| Red Hat Enterprise Linux | RHEL-9 | opensslaarch64 | Advisory build | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux | RHEL-9 | opensslppc64le | Advisory build | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux | RHEL-9 | openssls390x | Advisory build | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux | RHEL-9 | opensslsrc | Advisory build | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
| Red Hat Enterprise Linux | RHEL-9 | opensslx86_64 | Advisory build | 1:3.0.1-41.el9_0 | RHSA-2022:6224 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3) (affected)Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o) (affected)Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze) (affected) | openssl · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- Command injection
- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
15- http://seclists.org/fulldisclosure/2024/Nov/0
- 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
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2c9c35870601b4a44d86ddbf512b38df38285cfa
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9639817dac8bbbaa64d09efad7464ccc405527c7
- https://gitlab.com/fraf0/cve-2022-1292-re_score-analysis
- FEDORA-2022-3b7d0abd0b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/
- FEDORA-2022-41890e9e44 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/
- https://security.netapp.com/advisory/ntap-20220707-0008/
- DSA-5169 https://www.debian.org/security/2022/dsa-5169
- https://www.openssl.org/news/secadv/20220621.txt
Provider assertions
4openssl · cna
The c_rehash script allows command injection
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 869a17e0f20b80dd141786104eda47c26969bca181919375c03a767bf04d244f
- Ingested
- 04 Nov 2026, 00:37:14 UTC
- Source record
- Official CVE record