# CVE-2022-1292: The c_rehash script allows command injection

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 83.1%, higher than 99% of CVEs (2026-12-01)
- Published: 2022-05-03T15:15:19.758Z
- Modified: 2026-11-04T00:21:28.165Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: openssl

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

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: 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); from 1.0.2 before 1.0.2ze; from 1.1.1 before 1.1.1o; from 3.0.0 before 3.0.3
- siemens brownfield_connectivity_gateway: before 2.15
- debian debian_linux: 9.0; 10.0; 11.0
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp oncommand_insight: no versions given
- netapp oncommand_workflow_automation: no versions given
- netapp santricity_smi-s_provider: no versions given
- netapp smi-s_provider: no versions given
- netapp snapcenter: no versions given
- netapp snapmanager: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp a700s_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp aff_8300_firmware: no versions given
- netapp fas_8300_firmware: no versions given
- netapp aff_8700_firmware: no versions given
- netapp fas_8700_firmware: no versions given
- netapp aff_a400_firmware: no versions given
- netapp fabric-attached_storage_a400_firmware: no versions given
- netapp a250_firmware: no versions given
- netapp aff_500f_firmware: no versions given
- netapp fas_500f_firmware: no versions given
- oracle enterprise_manager_ops_center: 12.4.0.0
- oracle mysql_server: from 5.0.0 up to 5.7.38; from 8.0.0 up to 8.0.29
- oracle mysql_workbench: up to 8.0.29
- fedoraproject fedora: 35; 36

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.openssl.org/news/secadv/20220503.txt> (vendor-advisory)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=1ad73b4d27bd8c1b369a3cd453681d3a4f1bb9b2> (broken-link)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=e5fd1728ef4c7a5bf7c7a7163ca60370460a6e23> (broken-link)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=548d3f280a6e737673f5b61fce24bb100108dfeb> (broken-link)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00019.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5139> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VX4KWHPMKYJL6ZLW4M5IU7E5UV5ZWJQU/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNU5M7BXMML26G3GPYKFGQYPQDRSNKDD/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220602-0009/> (third-party-advisory)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0011> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220729-0004/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202210-02> (third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdf> (third-party-advisory)
- <https://gitlab.com/fraf0/cve-2022-1292-re_score-analysis>
- <https://cert-portal.siemens.com/productcert/html/ssa-953464.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-146325.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-1292](https://www.cve.org/CVERecord?id=CVE-2022-1292), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2022-1292](https://nvd.nist.gov/vuln/detail/CVE-2022-1292), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2022-1292 · Whole record: https://cve.day/CVE-2022-1292.json · Rebuilt by cve.day 2026-11-25T22:58:11.367Z
