CVE-2022-1292

The c_rehash script allows command injection

Published May 3, 2022 CVSS 3.1 · 9.8 Critical EPSS 82.6% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3008-1 openssl security update
Debian DSA Debian DSA DSA-5139-1 openssl security update
Ubuntu USN Ubuntu USN USN-5402-1 OpenSSL vulnerabilities
Ubuntu USN Ubuntu USN USN-5402-2 OpenSSL vulnerabilities
Ubuntu USN Ubuntu USN USN-6457-1 Node.js vulnerabilities
Ubuntu USN Ubuntu USN USN-7018-1 OpenSSL vulnerabilities
Ubuntu USN Ubuntu USN USN-7060-1 EDK II vulnerabilities
References
Link Providers
https://cert-portal.siemens.com/productcert/html/ssa-146325.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-398330.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-419740.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-794697.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-942865.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-953464.html cve-icon
https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf cve-icon cve-icon
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=1ad73b4d27bd8c1b369a3cd453681d3a4f1bb9b2 cve-icon cve-icon
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=548d3f280a6e737673f5b61fce24bb100108dfeb cve-icon cve-icon
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=e5fd1728ef4c7a5bf7c7a7163ca60370460a6e23 cve-icon cve-icon
https://gitlab.com/fraf0/cve-2022-1292-re_score-analysis cve-icon
https://lists.debian.org/debian-lts-announce/2022/05/msg00019.html cve-icon cve-icon
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VX4KWHPMKYJL6ZLW4M5IU7E5UV5ZWJQU/ cve-icon cve-icon
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNU5M7BXMML26G3GPYKFGQYPQDRSNKDD/ cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2022-1292 cve-icon
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0011 cve-icon cve-icon
https://security.gentoo.org/glsa/202210-02 cve-icon cve-icon
https://security.netapp.com/advisory/ntap-20220602-0009/ cve-icon cve-icon
https://security.netapp.com/advisory/ntap-20220729-0004/ cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2022-1292 cve-icon
https://www.debian.org/security/2022/dsa-5139 cve-icon cve-icon
https://www.openssl.org/news/secadv/20220503.txt cve-icon cve-icon cve-icon
https://www.oracle.com/security-alerts/cpujul2022.html cve-icon cve-icon
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Siemens
Siemens brownfield Connectivity Gateway
CPEs cpe:2.3:a:siemens:brownfield_connectivity_gateway:*:*:*:*:*:*:*:*
Vendors & Products Siemens
Siemens brownfield Connectivity Gateway
Type Values Removed Values Added
Metrics epss

{'score': 0.70186}

epss

{'score': 0.6768}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Netapp A250 A250 Firmware A700s A700s Firmware Active Iq Unified Manager Aff 500f Aff 500f Firmware Aff 8300 Aff 8300 Firmware Aff 8700 Aff 8700 Firmware Aff A400 Aff A400 Firmware Clustered Data Ontap Clustered Data Ontap Antivirus Connector Fabric-attached Storage A400 Fabric-attached Storage A400 Firmware Fas 500f Fas 500f Firmware Fas 8300 Fas 8300 Firmware Fas 8700 Fas 8700 Firmware H300e H300e Firmware H300s H300s Firmware H410s H410s Firmware H500e H500e Firmware H500s H500s Firmware H700e H700e Firmware H700s H700s Firmware Oncommand Insight Oncommand Workflow Automation Santricity Smi-s Provider Smi-s Provider Snapcenter Snapmanager Solidfire\, Enterprise Sds \& Hci Storage Node Solidfire \& Hci Management Node
Openssl Openssl
Oracle Enterprise Manager Ops Center Mysql Server Mysql Workbench
Redhat Enterprise Linux Jboss Core Services Jboss Enterprise Web Server Rhel Satellite Client Satellite Satellite Capsule
Siemens Brownfield Connectivity Gateway
Weaknesses

Sources

Status
PUBLISHED
Assigner
openssl
Published
Updated
Nov 4, 2026, 12:21 AM
Reserved
Apr 11, 2022, 12:00 AM
Status
Modified
Published
May 3, 2022, 4:15 PM
Modified
Nov 3, 2026, 10:17 PM
Severity
Moderate
Public date
May 3, 2022, 12:00 AM