The c_rehash script allows command injection
CVSS score
9.8
EPSS probability
%95.4
Risk score
9.3
Published
4 y ago
Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2022-2068 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
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).
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2022-2068 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | openssl | openssl | View |
| 2 | openssl | openssl | View |
| 3 | openssl | openssl | View |
| 4 | openssl | openssl | View |
| 5 | debian | debian linux | View |
| 6 | debian | debian linux | View |
| 7 | fedoraproject | fedora | View |
| 8 | fedoraproject | fedora | View |
| 9 | siemens | sinec ins | View |
| 10 | siemens | sinec ins | View |
| 11 | netapp | element software | View |
| 12 | netapp | hci management node | View |
| 13 | netapp | ontap antivirus connector | View |
| 14 | netapp | ontap select deploy administration utility | View |
| 15 | netapp | santricity smi-s provider | View |
| 16 | netapp | smi-s provider | View |
| 17 | netapp | snapmanager | View |
| 18 | netapp | solidfire | View |
| 19 | netapp | bootstrap os | View |
| 20 | netapp | hci compute node | View |
| 21 | netapp | h615c firmware | View |
| 22 | netapp | h615c | View |
| 23 | netapp | h610s firmware | View |
| 24 | netapp | h610s | View |
| 25 | netapp | h610c firmware | View |
| 26 | netapp | h610c | View |
| 27 | netapp | h410c firmware | View |
| 28 | netapp | h410c | View |
| 29 | netapp | h300s firmware | View |
| 30 | netapp | h300s | View |
| 31 | netapp | h500s firmware | View |
| 32 | netapp | h500s | View |
| 33 | netapp | h700s firmware | View |
| 34 | netapp | h700s | View |
| 35 | netapp | h410s firmware | View |
| 36 | netapp | h410s | View |
| 37 | netapp | fas 8300 firmware | View |
| 38 | netapp | fas 8300 | View |
| 39 | netapp | fas 8700 firmware | View |
| 40 | netapp | fas 8700 | View |
| 41 | netapp | fas a400 firmware | View |
| 42 | netapp | fas a400 | View |
| 43 | netapp | aff 8300 firmware | View |
| 44 | netapp | aff 8300 | View |
| 45 | netapp | aff 8700 firmware | View |
| 46 | netapp | aff 8700 | View |
| 47 | netapp | aff a400 firmware | View |
| 48 | netapp | aff a400 | View |
| 49 | broadcom | sannav | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 10.0 | CVSS V2 | — | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
| 9.8 | CVSS V31 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| 9.8 | CVSS V3_1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CVE ADP |
| 7.3 | CVSS V31 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD |
Patch and Remediation Guide
Solution & Remediation Advisory
3 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-2068 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-2068 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
Improper input validation in Apache Log4j
Improper access control in N/a
Vulnerability in Apache Tomcat
Path traversal in N/a
Vulnerability in GNU Inetutils
Vulnerability in N/a
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2022-2068"