Stackurity Start free trial

CVEs / CVE-2022-2068

CVE-2022-2068: OpenSSL OpenSSL vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-2068

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

The CVE record, via NVD · published 21 Jun 2022 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
OpenSSL OpenSSLFixed in OpenSSL 3.0.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3)—
OpenSSL OpenSSLFixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o)—
OpenSSL OpenSSLFixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze)—
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFPfrom V3.1.0, before V3.1.5V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPfrom V3.1.0, before V3.1.5V3.1.5
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystembefore V1.1V1.1
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFPfrom V3.1.0, before V3.1.5V3.1.5

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.

Severity

CVSS 3.17.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-78

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.