Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openssl
  4. ›
  5. CVE-2022-1292

CVE-2022-1292: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

May 3, 2022 (updated November 9, 2023)

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.

References

  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1ad73b4d27bd8c1b369a3cd453681d3a4f1bb9b2
  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=548d3f280a6e737673f5b61fce24bb100108dfeb
  • git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=e5fd1728ef4c7a5bf7c7a7163ca60370460a6e23
  • nvd.nist.gov/vuln/detail/CVE-2022-1292
  • www.openssl.org/news/secadv/20220503.txt

Code Behaviors & Features

Detect and mitigate CVE-2022-1292 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.2 before 1.0.2ze, all versions starting from 1.1.1 before 1.1.1o, all versions starting from 3.0.0 before 3.0.3

Fixed versions

  • 1.1.0l
  • 1.1.1o
  • 3.0.3

Solution

Upgrade to versions 1.1.0l, 1.1.1o, 3.0.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

conan/openssl/CVE-2022-1292.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.