CVE-2022-1292

libssl3t64: The c_rehash script does not properly sanitise shell metacharacters toprevent command injection

CVE-2022-1292 is fixed in 15 products on 1 platform, first by libssl1.0.0 1.0.2n-1ubuntu5.9, released May 2, 2022. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
9.8
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.8261
99th percentile

The c_rehash script does not properly sanitise shell metacharacters toprevent command injection. This script is distributed by some operatingsystems in a manner where it is automatically executed. On such operatingsystems, an attacker could execute arbitrary commands with the privilegesof the script. Use of the c_rehash script is considered obsolete and shouldbe 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 (Affected1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).

Where it's fixed

ProductFixed inFixReleased
Linux
libnode72 · Ubuntu 22.04.1 LTS (jammy) 12.22.9~dfsg-1ubuntu3.1 libnode72 12.22.9~dfsg-1ubuntu3.1 Jul 4, 2022
libssl1.0.0 · Ubuntu 18.04.6 LTS (bionic) 1.0.2n-1ubuntu5.9 libssl1.0.0 1.0.2n-1ubuntu5.9 May 2, 2022
libssl1.1 · Ubuntu 18.04.6 LTS (bionic) 1.1.1-1ubuntu2.1~18.04.17 libssl1.1 1.1.1-1ubuntu2.1~18.04.17 May 2, 2022
libssl1.1 · Ubuntu 20.04 LTS (focal) 1.1.1f-1ubuntu2.13 libssl1.1 1.1.1f-1ubuntu2.13 May 2, 2022
libssl3 · Ubuntu 22.04.1 LTS (jammy) 3.0.2-0ubuntu1.1 libssl3 3.0.2-0ubuntu1.1 May 2, 2022
libssl3t64 · Ubuntu 24.10 (oracular) 3.0.2-0ubuntu2 libssl3t64 3.0.2-0ubuntu2 May 3, 2022
libssl3t64 · Ubuntu 25.04 (plucky) 3.0.2-0ubuntu2 libssl3t64 3.0.2-0ubuntu2 May 3, 2022
nodejs · Ubuntu 22.04.1 LTS (jammy) 12.22.9~dfsg-1ubuntu3.1 nodejs 12.22.9~dfsg-1ubuntu3.1 Jul 4, 2022
openssl · Debian 11.6 (bullseye) 1.1.1n-0+deb11u2 DSA-5139-1 May 17, 2022
openssl · Debian 12.15 (bookworm) 1.1.1o-1 DEBIAN-CVE-2022-1292 May 3, 2022
openssl · Debian 13.5 (trixie) 1.1.1o-1 DEBIAN-CVE-2022-1292 May 3, 2022
openssl · Debian 14 1.1.1o-1 DEBIAN-CVE-2022-1292 May 3, 2022
openssl · RHEL 8 1:1.1.1k-7.el8_6 RHSA-2022:5818 Aug 3, 2022
openssl · RHEL 9 1:3.0.1-41.el9_0 RHSA-2022:6224 Aug 30, 2022
openssl · Ubuntu 18.04.6 LTS (bionic) 1.1.1-1ubuntu2.1~18.04.17 openssl 1.1.1-1ubuntu2.1~18.04.17 May 2, 2022
openssl · Ubuntu 20.04 LTS (focal) 1.1.1f-1ubuntu2.13 openssl 1.1.1f-1ubuntu2.13 May 2, 2022
openssl · Ubuntu 22.04.1 LTS (jammy) 3.0.2-0ubuntu1.1 openssl 3.0.2-0ubuntu1.1 May 2, 2022
openssl · Ubuntu 24.10 (oracular) 3.0.2-0ubuntu2 openssl 3.0.2-0ubuntu2 May 3, 2022
openssl · Ubuntu 25.04 (plucky) 3.0.2-0ubuntu2 openssl 3.0.2-0ubuntu2 May 3, 2022
openssl · almalinux 8 1:1.1.1k-7.el8_6 ALSA-2022:5818 Aug 3, 2022
openssl · almalinux 9 1:3.0.1-41.el9_0 ALSA-2022:6224 Aug 30, 2022
openssl · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl · ol 9 2:3.0.1-41.0.1.ksplice1.el9_0 ELSA-2022-9751 Aug 31, 2022
openssl · rocky 8 1:1.1.1k-7.el8_6 RLSA-2022:5818 Aug 2, 2022
openssl-debuginfo · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-debugsource · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-debugsource · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl-devel · RHEL 8 1:1.1.1k-7.el8_6 RHSA-2022:5818 Aug 3, 2022
openssl-devel · RHEL 9 1:3.0.1-41.el9_0 RHSA-2022:6224 Aug 30, 2022
openssl-devel · almalinux 8 1:1.1.1k-7.el8_6 ALSA-2022:5818 Aug 3, 2022
openssl-devel · almalinux 9 1:3.0.1-41.el9_0 ALSA-2022:6224 Aug 30, 2022
openssl-devel · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-devel · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl-devel · ol 9 2:3.0.1-41.0.1.ksplice1.el9_0 ELSA-2022-9751 Aug 31, 2022
openssl-libs · RHEL 8 1:1.1.1k-7.el8_6 RHSA-2022:5818 Aug 3, 2022
openssl-libs · RHEL 9 1:3.0.1-41.el9_0 RHSA-2022:6224 Aug 30, 2022
openssl-libs · almalinux 8 1:1.1.1k-7.el8_6 ALSA-2022:5818 Aug 3, 2022
openssl-libs · almalinux 9 1:3.0.1-41.el9_0 ALSA-2022:6224 Aug 30, 2022
openssl-libs · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-libs · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl-libs · ol 9 2:3.0.1-41.0.1.ksplice1.el9_0 ELSA-2022-9751 Aug 31, 2022
openssl-libs-debuginfo · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-perl · RHEL 8 1:1.1.1k-7.el8_6 RHSA-2022:5818 Aug 3, 2022
openssl-perl · RHEL 9 1:3.0.1-41.el9_0 RHSA-2022:6224 Aug 30, 2022
openssl-perl · almalinux 8 1:1.1.1k-7.el8_6 ALSA-2022:5818 Aug 3, 2022
openssl-perl · almalinux 9 1:3.0.1-41.el9_0 ALSA-2022:6224 Aug 30, 2022
openssl-perl · amzn 2023 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051 Feb 17, 2023
openssl-perl · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl-perl · ol 9 2:3.0.1-41.0.1.ksplice1.el9_0 ELSA-2022-9751 Aug 31, 2022
openssl-static · ol 8 2:1.1.1k-7.ksplice1.el8_6 ELSA-2022-9683 Aug 5, 2022
openssl1.0 · Ubuntu 18.04.6 LTS (bionic) 1.0.2n-1ubuntu5.9 openssl1.0 1.0.2n-1ubuntu5.9 May 2, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.