CVE-2022-1292
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.3 (Affected 3.0.0,3.0.1,3.0.2) · Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n) · Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd) | 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-1801 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1815 | 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 105 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 | — | SINAMICS PERFECT HARMONY GH1800 and later · 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 | AL2023 | Release evaluation | Pending Fix | 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+deb11u2 | DSA-5139-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.12 | openssl | Fixed | 0 | Package fix record |
| 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+deb10u2 | DSA-5139-1 |
| Debian | stretch | openssl | Advisory build | 1.1.0l-1~deb9u6 | DLA-3008-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 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. 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.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).
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.3 (Affected 3.0.0,3.0.1,3.0.2) (affected)Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n) (affected)Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd) (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 | SINAMICS PERFECT HARMONY GH180 | 0 and later (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
21- https://cert-portal.siemens.com/productcert/html/ssa-146325.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- https://cert-portal.siemens.com/productcert/html/ssa-953464.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=1ad73b4d27bd8c1b369a3cd453681d3a4f1bb9b2
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=548d3f280a6e737673f5b61fce24bb100108dfeb
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=e5fd1728ef4c7a5bf7c7a7163ca60370460a6e23
- https://gitlab.com/fraf0/cve-2022-1292-re_score-analysis
- [debian-lts-announce] 20220515 [SECURITY] [DLA 3008-1] openssl security update https://lists.debian.org/debian-lts-announce/2022/05/msg00019.html
- FEDORA-2022-b651cb69e6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VX4KWHPMKYJL6ZLW4M5IU7E5UV5ZWJQU/
- FEDORA-2022-c9c02865f6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNU5M7BXMML26G3GPYKFGQYPQDRSNKDD/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0011
- GLSA-202210-02 https://security.gentoo.org/glsa/202210-02
- https://security.netapp.com/advisory/ntap-20220602-0009/
- https://security.netapp.com/advisory/ntap-20220729-0004/
- DSA-5139 https://www.debian.org/security/2022/dsa-5139
- https://www.openssl.org/news/secadv/20220503.txt
- https://www.oracle.com/security-alerts/cpujul2022.html
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
- c45365dc79190d2e2e549f8ce70c7767fe12e415770b8f83845097d629518931
- Ingested
- 04 Nov 2026, 00:37:14 UTC
- Source record
- Official CVE record