Skip to content

CVE-2024-26130 (High) detected in cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl #800

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2024-26130 - High Severity Vulnerability

Vulnerable Library - cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Library home page: https://files.pythonhosted.org/packages/62/bd/69628ab50368b1beb900eb1de5c46f8137169b75b2458affe95f2f470501/cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl

Path to dependency file: /src/tea-cli/.ws-temp-CUESWI-requirements.txt

Path to vulnerable library: /home/wss-scanner/.cache/pypoetry/virtualenvs/tea-cli-vORNsNti-py3.11/lib/python3.11/site-packages/cryptography-41.0.7.dist-info

Dependency Hierarchy:

  • cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 10d61b2746d4a6d810ae62627bd11db903909b67

Found in base branch: main

Vulnerability 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.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2024-02-21

URL: CVE-2024-26130

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6vqw-3v5j-54x4

Release Date: 2024-02-21

Fix Resolution: 42.0.4


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions