You can now sign in with a passkey, no password needed, or protect your account with a second factor. Learn more
OpenSSL: The c_rehash script allows command injection
Download as CSAF file (VEX, JSON)Machine-readable version of this assessment in the OASIS CSAF 2.0 standard, for example for your vulnerability scanner. You may pass the file on.
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).
The newest version of each supported line. Older versions are under “All versions”.
| Version | Status | Fixed from |
|---|---|---|
| EventReporter 26.11Current | Not affected | – |
| EventReporter 19.4aExtended maintenance | Not affected | – |
| MonitorWare Agent 26.11Current | Not affected | – |
| MonitorWare Agent 15.4aExtended maintenance | Not affected | – |
| rsyslog Windows Agent 26.11Current | Not affected | – |
| rsyslog Windows Agent 8.4aExtended maintenance | Not affected | – |
| WinSyslog 26.11Current | Not affected | – |
| WinSyslog 18.4aExtended maintenance | Not affected | – |
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 19.4a ship OpenSSL 3.2.1, 19.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
The component is not included.
This line ships OpenSSL 1.1.1g (before 18.3) and 1.1.1q (from 18.3). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 18.3, 1.1.1q from 18.3
The component is not included.
This line ships OpenSSL 1.0.2k (before 17.2) and 1.0.2u (from 17.2). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 17.2, 1.0.2u from 17.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 15.4a ship OpenSSL 3.2.1, 15.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
The component is not included.
This line ships OpenSSL 1.1.1g (before 14.3) and 1.1.1q (from 14.3). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 14.3, 1.1.1q from 14.3
The component is not included.
This line ships OpenSSL 1.0.2k (before 13.2) and 1.0.2u (from 13.2). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 13.2, 1.0.2u from 13.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 8.4a ship OpenSSL 3.2.1, 8.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
The component is not included.
This line ships OpenSSL 1.1.1g (before 7.3) and 1.1.1q (from 7.3). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 7.3, 1.1.1q from 7.3
The component is not included.
This line ships OpenSSL 1.0.2k (before 6.2) and 1.0.2u (from 6.2). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 6.2, 1.0.2u from 6.2
The vulnerable code is not included.
26.07 and later ship OpenSSL 3.5.6 or 3.5.9; OpenSSL does not list either as affected.
The vulnerable code is not included.
Releases before 18.4a ship OpenSSL 3.2.1, 18.4a ships OpenSSL 3.5.9; OpenSSL does not list either as affected.
The component is not included.
This line ships OpenSSL 1.1.1g (before 17.3) and 1.1.1q (from 17.3). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.1.1g before 17.3, 1.1.1q from 17.3
The component is not included.
This line ships OpenSSL 1.0.2k (before 16.2) and 1.0.2u (from 16.2). The issue is in OpenSSL's c_rehash script, which the products do not ship.
Checked: Bundled OpenSSL per himalaya tag: 1.0.2k before 16.2, 1.0.2u from 16.2
Products and versions not listed here have not been checked.