CVE-2022-2068
Last modified
CVE-2022-2068 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 95.76% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 1.0.2, < 1.0.2zf |
| Openssl | Openssl | >= 1.1.1, < 1.1.1p |
| Openssl | Openssl | >= 3.0.0, < 3.0.4 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Siemens | Sinec Ins | < 1.0 |
| Siemens | Sinec Ins | 1.0 |
| Netapp | Element Software | All versions |
| Netapp | Hci Management Node | All versions |
| Netapp | Ontap Antivirus Connector | All versions |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
| Netapp | Santricity Smi-S Provider | All versions |
| Netapp | Smi-S Provider | All versions |
| Netapp | Snapmanager | All versions |
| Netapp | Solidfire | All versions |
| Netapp | Bootstrap Os | All versions |
| Netapp | H615c Firmware | All versions |
| Netapp | H610s Firmware | All versions |
| Netapp | H610c Firmware | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | Fas 8300 Firmware | All versions |
| Netapp | Fas 8700 Firmware | All versions |
| Netapp | Fas A400 Firmware | All versions |
| Netapp | Aff 8300 Firmware | All versions |
| Netapp | Aff 8700 Firmware | All versions |
| Netapp | Aff A400 Firmware | All versions |
| Broadcom | Sannav | All versions |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0008/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5169Third Party Advisory
- https://www.openssl.org/news/secadv/20220621.txtVendor Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdfThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220707-0008/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5169Third Party Advisory
- https://www.openssl.org/news/secadv/20220621.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-2068?
How severe is CVE-2022-2068?
How do I fix CVE-2022-2068?
Are you affected by CVE-2022-2068?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
