Upstream information

CVE-2024-26130 at MITRE

Description

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if `pkcs12.serialize_key_and_certificates` is called with both a certificate whose public key did not match the provided private key and an `encryption_algorithm` with `hmac_hash` set (via `PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a `ValueError` is properly raised.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 6.2
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1220210 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES15-SP4-BYOS
Image SLES15-SP4-BYOS-Azure
Image SLES15-SP4-BYOS-EC2
Image SLES15-SP4-HPC-BYOS
Image SLES15-SP4-HPC-BYOS-Azure
Image SLES15-SP4-HPC-BYOS-EC2
Image SLES15-SP4-HPC-EC2
Image SLES15-SP4-Hardened-BYOS
Image SLES15-SP4-Hardened-BYOS-Azure
Image SLES15-SP4-Hardened-BYOS-EC2
Image SLES15-SP4-SAP
Image SLES15-SP4-SAP-Azure
Image SLES15-SP4-SAP-BYOS
Image SLES15-SP4-SAP-BYOS-Azure
Image SLES15-SP4-SAP-BYOS-EC2
Image SLES15-SP4-SAP-EC2
Image SLES15-SP4-SAP-Hardened
Image SLES15-SP4-SAP-Hardened-Azure
Image SLES15-SP4-SAP-Hardened-BYOS
Image SLES15-SP4-SAP-Hardened-BYOS-Azure
Image SLES15-SP4-SAP-Hardened-BYOS-EC2
Image SLES15-SP4-SAPCAL
Image SLES15-SP4-SAPCAL-Azure
Image SLES15-SP4-SAPCAL-EC2
Image SLES15-SP5-Azure-Basic
Image SLES15-SP5-Azure-Standard
Image SLES15-SP5-BYOS-Azure
Image SLES15-SP5-BYOS-EC2
Image SLES15-SP5-EC2
Image SLES15-SP5-HPC-Azure
Image SLES15-SP5-HPC-BYOS-Azure
Image SLES15-SP5-HPC-BYOS-EC2
Image SLES15-SP5-Hardened-BYOS-Azure
Image SLES15-SP5-SAP-BYOS-Azure
Image SLES15-SP5-SAP-BYOS-EC2
Image SLES15-SP5-SAP-Hardened-Azure
Image SLES15-SP5-SAP-Hardened-BYOS-Azure
Image SLES15-SP5-SAP-Hardened-BYOS-EC2
Image SLES15-SP5-SAPCAL-Azure
Image SLES15-SP5-SAPCAL-EC2
  • python311-cryptography >= 41.0.3-150400.16.15.1
Image SLES15-SP6
Image SLES15-SP6-Azure-Basic
Image SLES15-SP6-Azure-Standard
Image SLES15-SP6-BYOS
Image SLES15-SP6-BYOS-Azure
Image SLES15-SP6-BYOS-EC2
Image SLES15-SP6-EC2
Image SLES15-SP6-EC2-ECS-HVM
Image SLES15-SP6-HPC
Image SLES15-SP6-HPC-Azure
Image SLES15-SP6-HPC-BYOS
Image SLES15-SP6-HPC-BYOS-Azure
Image SLES15-SP6-HPC-BYOS-EC2
Image SLES15-SP6-HPC-EC2
Image SLES15-SP6-Hardened-BYOS
Image SLES15-SP6-Hardened-BYOS-Azure
Image SLES15-SP6-Hardened-BYOS-EC2
Image SLES15-SP6-SAP
Image SLES15-SP6-SAP-Azure
Image SLES15-SP6-SAP-BYOS
Image SLES15-SP6-SAP-BYOS-Azure
Image SLES15-SP6-SAP-BYOS-EC2
Image SLES15-SP6-SAP-EC2
Image SLES15-SP6-SAP-Hardened
Image SLES15-SP6-SAP-Hardened-Azure
Image SLES15-SP6-SAP-Hardened-BYOS
Image SLES15-SP6-SAP-Hardened-BYOS-Azure
Image SLES15-SP6-SAP-Hardened-BYOS-EC2
Image SLES15-SP6-SAP-Hardened-EC2
Image SLES15-SP6-SAPCAL
Image SLES15-SP6-SAPCAL-Azure
Image SLES15-SP6-SAPCAL-EC2
  • python311-cryptography >= 41.0.3-150600.23.3.1
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Python 3 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python311-cryptography >= 41.0.3-150400.16.15.1
Patchnames:
SUSE-SLE-Module-Python3-15-SP5-2024-763
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Python 3 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python311-cryptography >= 41.0.3-150600.23.3.1
Patchnames:
SUSE-SLE-Module-Python3-15-SP6-2024-2138
SUSE Linux Enterprise Micro 6.0
  • python311-cryptography >= 42.0.4-1.7
Patchnames:
SUSE Linux Enterprise Micro 6.0 GA python311-cryptography-42.0.4-1.7
SUSE Linux Enterprise Micro 6.1
  • python311-cryptography >= 42.0.4-slfo.1.1_1.2
Patchnames:
SUSE Linux Enterprise Micro 6.1 GA python311-cryptography-42.0.4-slfo.1.1_1.2
openSUSE Leap 15.5
  • python311-cryptography >= 41.0.3-150400.16.15.1
Patchnames:
openSUSE-SLE-15.5-2024-763
openSUSE Leap 15.6
  • python311-cryptography >= 41.0.3-150600.23.3.1
Patchnames:
openSUSE-SLE-15.6-2024-2138
openSUSE Tumbleweed
  • python310-cryptography >= 42.0.4-1.1
  • python311-cryptography >= 42.0.4-1.1
  • python312-cryptography >= 42.0.4-1.1
  • python39-cryptography >= 42.0.4-1.1
Patchnames:
openSUSE-Tumbleweed-2024-13710


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SLES15-SP5-CHOST-BYOS-Aliyun python3-cryptography Not affected
SLES15-SP5-CHOST-BYOS-Azure python3-cryptography Not affected
SLES15-SP5-CHOST-BYOS-EC2 python3-cryptography Not affected
SLES15-SP5-CHOST-BYOS-GCE python3-cryptography Not affected
SLES15-SP5-CHOST-BYOS-SAP-CCloud python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-Aliyun python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-Azure python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-EC2 python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-GCE python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-GDC python3-cryptography Not affected
SLES15-SP6-CHOST-BYOS-SAP-CCloud python3-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP5 python-cryptography Released
SUSE Linux Enterprise Desktop 15 SP5 python3-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP6 python-cryptography Released
SUSE Linux Enterprise Desktop 15 SP6 python3-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 python-cryptography Released
SUSE Linux Enterprise High Performance Computing 15 SP5 python3-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 python-cryptography Released
SUSE Linux Enterprise High Performance Computing 15 SP6 python3-cryptography Not affected
SUSE Linux Enterprise Micro 5.1 python-cryptography Not affected
SUSE Linux Enterprise Micro 5.2 python-cryptography Not affected
SUSE Linux Enterprise Micro 5.3 python3-cryptography Not affected
SUSE Linux Enterprise Micro 5.4 python3-cryptography Not affected
SUSE Linux Enterprise Micro 5.5 python-cryptography Affected
SUSE Linux Enterprise Micro 5.5 python3-cryptography Not affected
SUSE Linux Enterprise Micro 6.0 python-cryptography Released
SUSE Linux Enterprise Module for Basesystem 15 SP5 python3-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP6 python3-cryptography Not affected
SUSE Linux Enterprise Module for Python 3 15 SP5 python-cryptography Released
SUSE Linux Enterprise Module for Python 3 15 SP6 python-cryptography Released
SUSE Linux Enterprise Server 15 SP5 python-cryptography Released
SUSE Linux Enterprise Server 15 SP5 python3-cryptography Not affected
SUSE Linux Enterprise Server 15 SP6 python-cryptography Released
SUSE Linux Enterprise Server 15 SP6 python3-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-cryptography Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python3-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-cryptography Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python3-cryptography Not affected
SUSE Manager Proxy 4.3 python-cryptography Not affected
SUSE Manager Proxy 4.3 python3-cryptography Not affected
SUSE Manager Retail Branch Server 4.3 python-cryptography Not affected
SUSE Manager Retail Branch Server 4.3 python3-cryptography Not affected
SUSE Manager Server 4.3 python-cryptography Not affected
SUSE Manager Server 4.3 python3-cryptography Not affected
openSUSE Leap 15.5 python-cryptography Released
openSUSE Leap 15.5 python3-cryptography Not affected
openSUSE Leap 15.6 python-cryptography Released
openSUSE Leap 15.6 python3-cryptography Not affected
openSUSE Leap Micro 5.5 python3-cryptography Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SLES15-SP4-CHOST-BYOS python3-cryptography Not affected
SLES15-SP4-CHOST-BYOS-Aliyun python3-cryptography Not affected
SLES15-SP4-CHOST-BYOS-Azure python3-cryptography Not affected
SLES15-SP4-CHOST-BYOS-EC2 python3-cryptography Not affected
SLES15-SP4-CHOST-BYOS-GCE python3-cryptography Not affected
SLES15-SP4-CHOST-BYOS-SAP-CCloud python3-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP4 python-cryptography Affected
SUSE Linux Enterprise Desktop 15 SP4 python3-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python3-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python3-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python3-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 python3-cryptography Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP4 python-cryptography Not affected
SUSE Linux Enterprise Module for Python 2 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Module for Python 2 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise Module for Python 3 15 SP4 python-cryptography Affected
SUSE Linux Enterprise Server 12 SP5 python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP5-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP4 python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP4 python3-cryptography Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS python3-cryptography Not affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python3-cryptography Not affected
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 python-cryptography Not affected
SUSE CaaS Platform 3.0 python-cryptography Not affected
SUSE CaaS Platform 4.0 python-cryptography Not affected
SUSE Enterprise Storage 6 python-cryptography Not affected
SUSE Enterprise Storage 7 python-cryptography Not affected
SUSE Enterprise Storage 7.1 python-cryptography Not affected
SUSE Linux Enterprise Desktop 12 SP2 python-cryptography Not affected
SUSE Linux Enterprise Desktop 12 SP3 python-cryptography Not affected
SUSE Linux Enterprise Desktop 12 SP4 python-cryptography Not affected
SUSE Linux Enterprise Desktop 15 python-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Desktop 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS python-cryptography Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS python-cryptography Not affected
SUSE Linux Enterprise Micro 5.0 python-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 python-cryptography Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise Module for Python 2 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT python-cryptography Not affected
SUSE Linux Enterprise Real Time 15 SP2 python-cryptography Not affected
SUSE Linux Enterprise Real Time 15 SP3 python-cryptography Not affected
SUSE Linux Enterprise Real Time 15 SP4 python3-cryptography Not affected
SUSE Linux Enterprise Server 12 SP2 python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP2-BCL python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP2-ESPOS python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP2-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP3 python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP3-BCL python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP3-ESPOS python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP3-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP4 python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP4-ESPOS python-cryptography Not affected
SUSE Linux Enterprise Server 12 SP4-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP1 python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP1-BCL python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP2-BCL python-cryptography Not affected
SUSE Linux Enterprise Server 15 SP3-BCL python-cryptography Not affected
SUSE Linux Enterprise Server 15-LTSS python-cryptography Not affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 python-cryptography Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-cryptography Not affected
SUSE Manager Proxy 4.0 python-cryptography Not affected
SUSE Manager Proxy 4.1 python-cryptography Not affected
SUSE Manager Proxy 4.2 python-cryptography Not affected
SUSE Manager Retail Branch Server 4.0 python-cryptography Not affected
SUSE Manager Retail Branch Server 4.1 python-cryptography Not affected
SUSE Manager Retail Branch Server 4.2 python-cryptography Not affected
SUSE Manager Server 4.0 python-cryptography Not affected
SUSE Manager Server 4.1 python-cryptography Not affected
SUSE Manager Server 4.2 python-cryptography Not affected
SUSE OpenStack Cloud 7 python-cryptography Not affected
SUSE OpenStack Cloud 8 python-cryptography Not affected
SUSE OpenStack Cloud 9 python-cryptography Not affected
SUSE OpenStack Cloud Crowbar 8 python-cryptography Not affected
SUSE OpenStack Cloud Crowbar 9 python-cryptography Not affected
openSUSE Leap 15.3 python-cryptography Not affected
openSUSE Leap 15.4 python-cryptography Released
openSUSE Leap 15.4 python3-cryptography Not affected
openSUSE Leap Micro 5.2 python-cryptography Not affected
openSUSE Leap Micro 5.3 python3-cryptography Not affected
openSUSE Leap Micro 5.4 python3-cryptography Not affected
Products at an unknown state of their lifecycle.
SLES15-SP5-CHOST-BYOS-GDC python3-cryptography Not affected
Container Status
bci/kiwi
suse/389-ds
suse/manager/4.3/proxy-httpd
suse/manager/4.3/proxy-tftpd
suse/manager/5.0/x86_64/proxy-httpd
suse/manager/5.0/x86_64/proxy-tftpd
suse/manager/5.0/x86_64/server
python3-cryptographyNot affected


SUSE Timeline for this CVE

CVE page created: Wed Feb 21 19:00:11 2024
CVE page last modified: Sat Nov 23 14:29:17 2024