Advisory

UBUNTU-CVE-2024-0397

Also known as: CVE-2024-0397

Summary

The record has no summary.

Details

A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “cert_store_stats()” and “get_ca_certs()”. The race condition can be triggered if the methods are called at the same time as certificates are loaded into the SSLContext, such as during the TLS handshake with a certificate directory configured. This issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5.

Severity

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

Dates

Published
2024-06-17 16:15 UTC
Modified
2026-09-08 19:45 UTC

Affected packages and fixes

python3.8

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.8.10-0ubuntu1~20.04.11 (ecosystem)

Fixed versions

3.8.10-0ubuntu1~20.04.11

Fix

  • Fixed version 3.8.10-0ubuntu1~20.04.11
    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.

python3.10

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.10.12-1~22.04.5 (ecosystem)

Fixed versions

3.10.12-1~22.04.5

Fix

  • Fixed version 3.10.12-1~22.04.5
    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