Advisory

PYSEC-2023-254

Also known as: CVE-2023-49083, GHSA-jfhm-5ghh-2f97

Summary

The record has no summary.

Details

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling load_pem_pkcs7_certificates or load_der_pkcs7_certificates could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6.

Severity

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

Dates

Published
2023-11-29 19:15 UTC
Modified
2024-02-17 07:41 UTC

Affected packages and fixes

cryptography

PyPI · All systems

Affected

  • introduced 3.1, fixed 41.0.6 (ecosystem)

Fixed versions

41.0.6

Fix

  • Fixed version 41.0.6
    pip install --upgrade cryptography==41.0.6

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: PyPA Advisory Database · CC BY 4.0

Sources & licences