UBUNTU-CVE-2024-26130

See a problem?
Source
https://ubuntu.com/security/CVE-2024-26130
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-26130.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-26130
Related
Published
2024-02-21T17:15:00Z
Modified
2024-10-04T11:32:10Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/ubuntu/python-cryptography?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8-3ubuntu0.2

Affected versions

2.*

2.6.1-3.1
2.6.1-4
2.6.1-4ubuntu1
2.8-1ubuntu2
2.8-2
2.8-3
2.8-3ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8-3ubuntu0.2",
            "binary_name": "python-cryptography"
        },
        {
            "binary_version": "2.8-3ubuntu0.2",
            "binary_name": "python-cryptography-dbgsym"
        },
        {
            "binary_version": "2.8-3ubuntu0.2",
            "binary_name": "python-cryptography-doc"
        },
        {
            "binary_version": "2.8-3ubuntu0.2",
            "binary_name": "python3-cryptography"
        },
        {
            "binary_version": "2.8-3ubuntu0.2",
            "binary_name": "python3-cryptography-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/ubuntu/python-cryptography?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.8-1ubuntu2.1

Affected versions

3.*

3.3.2-1
3.3.2-1build1
3.4.8-1
3.4.8-1ubuntu1
3.4.8-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.4.8-1ubuntu2.1",
            "binary_name": "python-cryptography-doc"
        },
        {
            "binary_version": "3.4.8-1ubuntu2.1",
            "binary_name": "python3-cryptography"
        },
        {
            "binary_version": "3.4.8-1ubuntu2.1",
            "binary_name": "python3-cryptography-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/ubuntu/python-cryptography?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
41.0.7-4ubuntu0.1

Affected versions

38.*

38.0.4-4
38.0.4-4ubuntu1

41.*

41.0.7-3
41.0.7-4build2
41.0.7-4build3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "41.0.7-4ubuntu0.1",
            "binary_name": "python-cryptography-doc"
        },
        {
            "binary_version": "41.0.7-4ubuntu0.1",
            "binary_name": "python3-cryptography"
        },
        {
            "binary_version": "41.0.7-4ubuntu0.1",
            "binary_name": "python3-cryptography-dbgsym"
        }
    ]
}