Advisory

UBUNTU-CVE-2023-6237

Also known as: CVE-2023-6237

Summary

The record has no summary.

Details

Issue summary: Checking excessively long invalid RSA public keys may take a long time. Impact summary: Applications that use the function EVP_PKEY_public_check() to check RSA public keys may experience long delays. Where the key that is being checked has been obtained from an untrusted source this may lead to a Denial of Service. When function EVP_PKEY_public_check() is called on RSA public keys, a computation is done to confirm that the RSA modulus, n, is composite. For valid RSA keys, n is a product of two or more large primes and this computation completes quickly. However, if n is an overly large prime, then this computation would take a long time. An application that calls EVP_PKEY_public_check() and supplies an RSA key obtained from an untrusted source could be vulnerable to a Denial of Service attack. The function EVP_PKEY_public_check() is not called from other OpenSSL functions however it is called from the OpenSSL pkey command line application. For that reason that application is also vulnerable if used with the '-pubin' and '-check' options on untrusted data. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.

Severity

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

Dates

Published
2024-01-15 00:00 UTC
Modified
2026-11-17 18:20 UTC

Affected packages and fixes

openssl

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

3.0.2-0ubuntu1.14

Fix

  • Fixed version 3.0.2-0ubuntu1.14
    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.

edk2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2024.02-2ubuntu0.6 (ecosystem)

Fixed versions

2024.02-2ubuntu0.6

Fix

  • Fixed version 2024.02-2ubuntu0.6
    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 24.04

Affected

  • introduced 0, fixed 3.0.10-1ubuntu4 (ecosystem)

Fixed versions

3.0.10-1ubuntu4

Fix

  • Fixed version 3.0.10-1ubuntu4
    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