Advisory

UBUNTU-CVE-2022-1292

Also known as: CVE-2022-1292

Summary

The record has no summary.

Details

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).

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-05-03 00:00 UTC
Modified
2026-10-05 19:20 UTC

Affected packages and fixes

openssl

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.1.1-1ubuntu2.1~18.04.17 (ecosystem)

Fixed versions

1.1.1-1ubuntu2.1~18.04.17

Fix

  • Fixed version 1.1.1-1ubuntu2.1~18.04.17
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssl1.0

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.0.2n-1ubuntu5.9 (ecosystem)

Fixed versions

1.0.2n-1ubuntu5.9

Fix

  • Fixed version 1.0.2n-1ubuntu5.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.1.1f-1ubuntu2.13 (ecosystem)

Fixed versions

1.1.1f-1ubuntu2.13

Fix

  • Fixed version 1.1.1f-1ubuntu2.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 12.22.9~dfsg-1ubuntu3.1 (ecosystem)

Fixed versions

12.22.9~dfsg-1ubuntu3.1

Fix

  • Fixed version 12.22.9~dfsg-1ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openssl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.0.2-0ubuntu1.1 (ecosystem)

Fixed versions

3.0.2-0ubuntu1.1

Fix

  • Fixed version 3.0.2-0ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences