UBUNTU-CVE-2022-2068

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-2068

    UBUNTU-CVE-2022-2068

    Published: 21 Jun 2022Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise shell metacharacters to prevent command injection were found by code review. When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script where the file names of certificates being hashed were possibly passed to a command executed through the shell. 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.4 (Affected 3.0.0,3.0.1,3.0.2,3.0.3). Fixed in OpenSSL 1.1.1p (Affected 1.1.1-1.1.1o). Fixed in OpenSSL 1.0.2zf (Affected 1.0.2-1.0.2ze).

    Affected packages

    Package

    Name: openssl

    Purl: pkg:deb/ubuntu/[email protected]+esm10?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.0.1f-1ubuntu2.27+esm10

    Affected versions

    1.0.1e-3ubuntu1
    1.0.1e-4ubuntu1
    1.0.1e-4ubuntu2
    1.0.1e-4ubuntu3
    1.0.1e-4ubuntu4
    1.0.1f-1ubuntu1
    1.0.1f-1ubuntu2
    1.0.1f-1ubuntu2.1
    1.0.1f-1ubuntu2.2
    1.0.1f-1ubuntu2.3
    1.0.1f-1ubuntu2.4
    1.0.1f-1ubuntu2.5
    1.0.1f-1ubuntu2.7
    1.0.1f-1ubuntu2.8
    1.0.1f-1ubuntu2.11
    1.0.1f-1ubuntu2.12
    1.0.1f-1ubuntu2.15
    1.0.1f-1ubuntu2.16
    1.0.1f-1ubuntu2.17
    1.0.1f-1ubuntu2.18
    1.0.1f-1ubuntu2.19
    1.0.1f-1ubuntu2.20
    1.0.1f-1ubuntu2.21
    1.0.1f-1ubuntu2.22
    1.0.1f-1ubuntu2.23
    1.0.1f-1ubuntu2.24
    1.0.1f-1ubuntu2.25
    1.0.1f-1ubuntu2.26
    1.0.1f-1ubuntu2.27
    1.0.1f-1ubuntu2.27+esm1
    1.0.1f-1ubuntu2.27+esm2
    1.0.1f-1ubuntu2.27+esm3
    1.0.1f-1ubuntu2.27+esm4
    1.0.1f-1ubuntu2.27+esm5
    1.0.1f-1ubuntu2.27+esm6
    1.0.1f-1ubuntu2.27+esm7
    1.0.1f-1ubuntu2.27+esm9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-2068 | CVE-DB