cve.bz

CVE-2022-1292 OS Command Injection

7.3 highEPSS 83%

High (7.3). EPSS 83% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
83% (unchanged from 83% a week ago; 83% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-12-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1292 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1292?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1292?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1292 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-1292

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-1292](https://cve.bz/cve/badge/CVE-2022-1292.svg)](https://cve.bz/cve/CVE-2022-1292)

HTML:

<a href="https://cve.bz/cve/CVE-2022-1292"><img src="https://cve.bz/cve/badge/CVE-2022-1292.svg" alt="CVE-2022-1292"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
siemens:brownfield_connectivity_gatewaybefore 2.15
openssl:opensslfrom 1.0.2 before 1.0.2ze
openssl:opensslfrom 1.1.1 before 1.1.1o
openssl:opensslfrom 3.0.0 before 3.0.3
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
oracle:enterprise_manager_ops_center12.4.0.0
oracle:mysql_serverfrom 5.0.0 through 5.7.38
oracle:mysql_serverfrom 8.0.0 through 8.0.29
oracle:mysql_workbenchthrough 8.0.29
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9openssl1.1.0l-1~deb9u6DLA-3008-1
Debian10openssl1.1.1n-0+deb10u2DSA-5139-1
Debian11openssl1.1.1n-0+deb11u2DSA-5139-1
Debian12, 13, 14openssl1.1.1o-1DEBIAN-CVE-2022-1292
Ubuntu18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.17UBUNTU-CVE-2022-1292 USN-5402-1
Ubuntu18.04:LTSopenssl1.01.0.2n-1ubuntu5.9UBUNTU-CVE-2022-1292 USN-5402-1
Ubuntu20.04:LTSedk20~20191122.bd85bf54-2ubuntu3.6USN-7060-1
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.13UBUNTU-CVE-2022-1292 USN-5402-1
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.3USN-7060-1
Ubuntu22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.1UBUNTU-CVE-2022-1292 USN-6457-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.1UBUNTU-CVE-2022-1292 USN-5402-1
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm10UBUNTU-CVE-2022-1292 USN-7018-1
UbuntuPro:16.04:LTSedk20~20160408.ffea0a2c-2ubuntu0.2+esm3UBUNTU-CVE-2022-1292 USN-7060-1
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm3UBUNTU-CVE-2022-1292 USN-5402-2
UbuntuPro:18.04:LTSedk20~20180205.c0d9813c-2ubuntu0.3+esm2USN-7060-1
UbuntuPro:FIPS-updates:16.04:LTSopenssl1.0.2g-1ubuntu4.fips.4.20.3UBUNTU-CVE-2022-1292
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1k-7.el8_6RHSA-2022:5818
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.1-41.el9_0RHSA-2022:6224
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.1-41.el9_0RHSA-2022:6224
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.86.0-2.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.51-37.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-20.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.51-37.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-13.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:7.86.0-2.el8jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.51-37.el8jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-20.el8jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.51-37.el8jbcsRHSA-2022:8840
56 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise Module for Legacy 15 SP3 and 11 moreopenssl-1_0_01.0.2p-150000.3.56.1SUSE-SU-2022:2321-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moreopenssl-1_11.1.0i-150100.14.30.1SUSE-SU-2022:2068-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 moreopenssl-1_11.1.1d-150200.11.48.1SUSE-SU-2022:2251-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 moreopenssl1.0.2j-60.80.1SUSE-SU-2022:2098-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreopenssl-1_11.1.0i-150000.4.69.1SUSE-SU-2022:2075-1
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-1_11.1.1l-150400.7.7.1SUSE-SU-2022:2308-1
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.7.1SUSE-SU-2022:2306-1
SUSELinux Enterprise Module for Legacy 12, Linux Enterprise Server for SAP Applications 12 SP3, Linux Enterprise Server for SAP Applications 12 SP4 and 1 morecompat-openssl0980.9.8j-106.36.1SUSE-SU-2022:2197-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_0_01.0.2p-3.53.1SUSE-SU-2022:2106-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_11.1.1d-2.66.1SUSE-SU-2022:2182-1
openSUSELeap 15.3openssl-1_11.1.1d-150200.11.48.1SUSE-SU-2022:2251-1
openSUSELeap 15.3, Leap 15.4openssl-1_0_01.0.2p-150000.3.56.1SUSE-SU-2022:2321-1
openSUSELeap 15.4openssl-1_11.1.1l-150400.7.7.1SUSE-SU-2022:2308-1
openSUSELeap 15.4openssl-33.0.1-150400.4.7.1SUSE-SU-2022:2306-1
openSUSELeap Micro 5.2openssl-1_11.1.1d-150200.11.48.1SUSE-SU-2022:2251-2
openSUSETumbleweedopenssl-1_0_01.0.2u-9.1openSUSE-SU-2024:12178-1
openSUSETumbleweedopenssl-1_11.1.1o-1.1openSUSE-SU-2024:12138-1
openSUSETumbleweedopenssl-33.0.5-1.1openSUSE-SU-2024:12204-1
AlmaLinux8openssl, openssl-libs, openssl-perl and 1 more1:1.1.1k-7.el8_6ALSA-2022:5818
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.1-41.el9_0ALSA-2022:6224
Rocky Linux8openssl1:1.1.1k-7.el8_6RLSA-2022:5818
Azure Linux2openssl1.1.1k-15AZL-9649
Azure Linux3hvloader1.0.1-2AZL-41748

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux uses a system-wide store of trusted certificates bundled in a single file and updated via `update-ca-trust`. The `c_rehash` script is not included in the default installation on any supported RHEL version, and is never executed automatically. For these reasons, this flaw has been rated as having a security impact of Moderate.

Red Hat Enterprise Linux 7 provides a vulnerable version of the `c_rehash` script in the `openssl-perl` package, available only through the unsupported Optional repository. As the Optional repository is not supported and Red Hat Enterprise Linux 7 is in Maintenance Support 2 Phase, this issue is not planned to be addressed there.

Red Hat Satellite ships an affected version of the `c_rehash` script embedded in `puppet-agent` package, however, the product is not vulnerable since it does not execute scripts with untrusted data. Moreover, the scriplet is owned by root user and is supposed to be accessed only by administrators.

Red Hat updates the OpenSSL compatibility packages (compat-openssl) to only address Important or Critical security issues with backported security patches.

Red Hat's mitigation

As mentioned in the upstream security advisory, use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1k-13.el8jbcsFixed 2022-12-08RHSA-2022:8840
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1k-13.el7jbcsFixed 2022-12-08RHSA-2022:8840
JWS 5.7.1 releaseopensslFixed 2022-12-12RHSA-2022:8913
Red Hat Enterprise Linux 8openssl-1:1.1.1k-7.el8_6Fixed 2022-08-03RHSA-2022:5818
Red Hat Enterprise Linux 9openssl-1:3.0.1-41.el9_0Fixed 2022-08-30RHSA-2022:6224
Red Hat JBoss Core ServicesopensslFixed 2022-12-08RHSA-2022:8841
Red Hat JBoss Web Server 5.7 on RHEL 7jws5-tomcat-native-0:1.2.31-11.redhat_11.el7jwsFixed 2022-12-12RHSA-2022:8917
Red Hat JBoss Web Server 5.7 on RHEL 8jws5-tomcat-native-0:1.2.31-11.redhat_11.el8jwsFixed 2022-12-12RHSA-2022:8917
Red Hat JBoss Web Server 5.7 on RHEL 9jws5-tomcat-native-0:1.2.31-11.redhat_11.el9jwsFixed 2022-12-12RHSA-2022:8917
Red Hat Satellite 6.11 for RHEL 7puppet-agent-0:7.26.0-3.el7satFixed 2023-10-20RHSA-2023:5980
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/management-ingress-rhel8Not affected
Red Hat Enterprise Linux 6opensslOut of support scope
Red Hat Enterprise Linux 6openssl098eOut of support scope
Red Hat Enterprise Linux 7opensslOut of support scope
Red Hat Enterprise Linux 7openssl098eOut of support scope
Red Hat Enterprise Linux 7ovmfOut of support scope
Red Hat Enterprise Linux 8compat-openssl10Out of support scope
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Out of support scope
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1292.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-194-01Siemens RUGGEDCOM ROX2023-07-11MultipleRUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 morenone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed
ICSA-23-166-12Siemens SINAMICS Medium Voltage Products2023-06-13MultipleSINAMICS PERFECT HARMONY GH180 6SR5none listed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 morenone listed
ICSA-23-047-03Siemens Brownfield Connectivity Client2023-02-14MultipleBrownfield Connectivity - Clientnone listed
ICSA-22-221-01Mitsubishi Electric Multiple Factory Automation Products (Update B)2022-08-30Critical ManufacturingCC-Link IE TSN Industrial Managed Switch (NZ2MHG-TSNT8F2 NZ2MHG-TSNT4): Version 03 and prior, GOT2000 compatible HMI software (GT SoftGOT2000): Version 1.275M, MELSEC iQ-R Series OPC UA Server Module (RD81OPC96): Version 08 and priornone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON