synced 10 MIN AGO
01 Record

CVE-2022-2068

The c_rehash script allows command injection

CriticalPUBLISHEDCNA: openssl
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

02 Description

The c_rehash script allows command injection

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
96.39% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 99.8% of scored records. A rank, not a probability.
NVD base score
7.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-10-14.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-06-21 14:45Z4 YR AGO
Last updated
2026-10-14 12:57Z15 DAYS AGO
Reserved
2022-06-13
Assigning CNA
openssl
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
  • CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')Class
Data version
5.2
Document digest
194367fa52e49b9a90165613ba186a8e1f0568b6aa82b8e4298cdaca5f337ae7

05 Affected products

VendorProductVersionsPlatforms
OpenSSLOpenSSLFixed 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)—

06 References

07 Fixed in

AlmaLinux 8

  • openssl
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-devel
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-libs
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-perl
    Fixed in 1:1.1.1k-7.el8_6

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • openssl
    Fixed in 1:3.0.1-41.el9_0
  • openssl-devel
    Fixed in 1:3.0.1-41.el9_0
  • openssl-libs
    Fixed in 1:3.0.1-41.el9_0
  • openssl-perl
    Fixed in 1:3.0.1-41.el9_0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • openssl
    No fix yet

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • openssl
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-devel
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-libs
    Fixed in 1:1.1.1k-7.el8_6
  • openssl-perl
    Fixed in 1:1.1.1k-7.el8_6

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • openssl
    Fixed in 1:3.0.1-41.el9_0
  • openssl-devel
    Fixed in 1:3.0.1-41.el9_0
  • openssl-libs
    Fixed in 1:3.0.1-41.el9_0
  • openssl-perl
    Fixed in 1:3.0.1-41.el9_0

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • openssl
    Fixed in 3.0.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • openssl
    Fixed in 3.0.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • openssl
    Fixed in 3.0.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • openssl
    Fixed in 1.1.1-1ubuntu2.1~18.04.19
  • openssl1.0
    Fixed in 1.0.2n-1ubuntu5.10

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • openssl
    Fixed in 1.1.1f-1ubuntu2.15

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • nodejs
    Fixed in 12.22.9~dfsg-1ubuntu3.1
  • openssl
    Fixed in 3.0.2-0ubuntu1.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • openssl
    Fixed in 1.0.1f-1ubuntu2.27+esm10
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • edk2
    No fix yet
  • openssl
    Fixed in 1.0.2g-1ubuntu4.20+esm5
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS-updates 16.04 LTS

  • openssl
    Fixed in 1.0.2g-1ubuntu4.fips.4.20.3
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS-updates 18.04 LTS

  • openssl
    Fixed in 1.1.1-1ubuntu2.fips.2.1~18.04.20
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS-updates 20.04 LTS

  • openssl
    Fixed in 1.1.1f-1ubuntu2.fips.16
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS 16.04 LTS

  • openssl
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS 18.04 LTS

  • openssl
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS 20.04 LTS

  • openssl
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.