CVE-2022-1292

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in conan/openssl

Identifiers

CVE-2022-1292

Package Slug

conan/openssl

Vulnerability

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Description

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.

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

Solution

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

Last Modified

2022-05-13

source