CVE-2022-1292

published 3 May 2022 · updated 3 Nov 2026

The c_rehash script allows command injection

10.0CriticalCVSS 9.8EPSS 83%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 83%. Fixed in OpenSSL 1.0.2ze, OpenSSL 1.1.1o, OpenSSL 3.0.3 and 1 more.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenSSLOpenSSL=Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n), >=1.0.2 <1.0.2ze, =Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2), >=1.1.1 <1.1.1o, =Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd), >=3.0.0 <3.0.31.0.2ze, 1.1.1o, 3.0.3
OracleEnterprise Manager Ops Center=12.4.0.0
OracleMySQL Server>=5.0.0 <=5.7.38, >=8.0.0 <=8.0.29
OracleMySQL Workbench<=8.0.29
Siemensbrownfield_connectivity_gateway<2.152.15
debiandebian_linux=10.0, =11.0, =9.0
fedoraprojectfedora=36, =35
netappaff_8300_firmware
netappaff_8700_firmware
netappaff_a400_firmware
netappfabric-attached_storage_a400_firmware
netappfas_500f_firmware
netappfas_8300_firmware
netappfas_8700_firmware
netapph300e_firmware
netapph300s_firmware
netapph410s_firmware
netapph500e_firmware
netappactive_iq_unified_manager
netapph700e_firmware
netapph700s_firmware
netapph500s_firmware
netappclustered_data_ontap
netappclustered_data_ontap_antivirus_connector
netapponcommand_insight
netapponcommand_workflow_automation
netappsantricity_smi-s_provider
netappsmi-s_provider
netappsnapcenter
netappsnapmanager
netappsolidfire\,_enterprise_sds_\&_hci_storage_node
netappsolidfire_\&_hci_management_node
netappa250_firmware
netappa700s_firmware
netappaff_500f_firmware

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OpenSSL, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1292 severity on Zeptric[![CVE-2022-1292](https://zeptric.io/badge/cve/CVE-2022-1292.svg)](https://zeptric.io/cve/CVE-2022-1292)