Back to the CVE list
CVE-2022-2068Proof of concept (PoC) published · CISASuited to automated attack · CISA

The c_rehash script allows command injection

CVSS score

9.8

EPSS probability

%95.4

Risk score

9.3

Published

4 y ago

Official patch verified

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.

IDVENDORPRODUCTACTION
1opensslopenssl View
2opensslopenssl View
3opensslopenssl View
4opensslopenssl View
5debiandebian linux View
6debiandebian linux View
7fedoraprojectfedora View
8fedoraprojectfedora View
9siemenssinec ins View
10siemenssinec ins View
11netappelement software View
12netapphci management node View
13netappontap antivirus connector View
14netappontap select deploy administration utility View
15netappsantricity smi-s provider View
16netappsmi-s provider View
17netappsnapmanager View
18netappsolidfire View
19netappbootstrap os View
20netapphci compute node View
21netapph615c firmware View
22netapph615c View
23netapph610s firmware View
24netapph610s View
25netapph610c firmware View
26netapph610c View
27netapph410c firmware View
28netapph410c View
29netapph300s firmware View
30netapph300s View
31netapph500s firmware View
32netapph500s View
33netapph700s firmware View
34netapph700s View
35netapph410s firmware View
36netapph410s View
37netappfas 8300 firmware View
38netappfas 8300 View
39netappfas 8700 firmware View
40netappfas 8700 View
41netappfas a400 firmware View
42netappfas a400 View
43netappaff 8300 firmware View
44netappaff 8300 View
45netappaff 8700 firmware View
46netappaff 8700 View
47netappaff a400 firmware View
48netappaff a400 View
49broadcomsannav View
Total affected vendors: 6|Products: 49

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

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.

SCOREVERSIONSEVERITYVECTORSOURCE
10.0CVSS V2—AV:N/AC:L/Au:N/C:C/I:C/A:CNVD
9.8CVSS V31CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
9.8CVSS V3_1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE ADP
7.3CVSS V31HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

3 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

nvd

NVD tarafından Patch olarak etiketlenmiş referans

Open source
nvd

NVD tarafından Patch olarak etiketlenmiş referans

Open source
nvd

NVD tarafından Patch olarak etiketlenmiş referans

Open source
Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

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

ExposureAğ üzerinden
PermissionsGerekmiyor
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

9.8 / 10
Attack VectorNetworkComplexityLowPrivilegesNoneUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityHigh

Vulnerability Scoring Details

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone required
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)High

Yama doğrulandı

3 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

O
openssl logo
openssl
D
debian logo
debian
S
siemens logo
siemens
N
netapp logo
netapp
B
broadcom logo
broadcom

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

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"