python-cryptography: CVE-2024-26130

Related Vulnerabilities: CVE-2024-26130  

Debian Bug report logs - #1064778
python-cryptography: CVE-2024-26130

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Sun, 25 Feb 2024 20:03:01 UTC

Severity: important

Tags: security, upstream

Found in version python-cryptography/41.0.7-3

Forwarded to https://github.com/pyca/cryptography/pull/10423

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1064778; Package src:python-cryptography. (Sun, 25 Feb 2024 20:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>. (Sun, 25 Feb 2024 20:03:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-cryptography: CVE-2024-26130
Date: Sun, 25 Feb 2024 21:01:33 +0100
Source: python-cryptography
Version: 41.0.7-3
Severity: important
Tags: security upstream
Forwarded: https://github.com/pyca/cryptography/pull/10423
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for python-cryptography.

CVE-2024-26130[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2024-26130
    https://www.cve.org/CVERecord?id=CVE-2024-26130
[1] https://github.com/pyca/cryptography/pull/10423
[2] https://github.com/pyca/cryptography/security/advisories/GHSA-6vqw-3v5j-54x4

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Feb 26 15:37:01 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.