QID 353983

Date Published: 2022-07-18

QID 353983: Amazon Linux Security Advisory for openssl11 : ALAS2-2022-1815

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). (
( CVE-2022-1292)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2022-1815 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 353983

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2022-1815 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2022-1815.html