Skip to content

azure_identity-1.19.0-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.3) #41

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - azure_identity-1.19.0-py3-none-any.whl

Path to dependency file: /default/dockerbuild/attic/ui/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019151/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019411/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019261/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019331/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019531/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info

Found in HEAD commit: 7d4ec1976bf34e113ff183b2bc7fa39af6136591

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (azure_identity version) Remediation Possible**
CVE-2024-47081 Medium 5.3 requests-2.32.3-py3-none-any.whl Transitive 1.20.0
CVE-2024-12797 Medium 4.8 cryptography-44.0.0-cp37-abi3-manylinux_2_28_x86_64.whl Transitive 1.20.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-47081

Vulnerable Library - requests-2.32.3-py3-none-any.whl

Python HTTP for Humans.

Library home page: https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl

Path to dependency file: /default/dockerbuild/react-ui/crud-app/backend/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019411/env/lib/python3.8/site-packages/requests-2.32.3.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019531/env/lib/python3.8/site-packages/requests-2.32.3.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019261/env/lib/python3.8/site-packages/requests-2.32.3.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019331/env/lib/python3.8/site-packages/requests-2.32.3.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019151/env/lib/python3.8/site-packages/requests-2.32.3.dist-info

Dependency Hierarchy:

  • azure_identity-1.19.0-py3-none-any.whl (Root Library)
    • msal-1.31.1-py3-none-any.whl
      • requests-2.32.3-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 7d4ec1976bf34e113ff183b2bc7fa39af6136591

Found in base branch: main

Vulnerability Details

Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with "trust_env=False" on one's Requests Session.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-06-09

URL: CVE-2024-47081

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9hjg-9r4m-mvj7

Release Date: 2025-06-09

Fix Resolution (requests): 2.32.4

Direct dependency fix Resolution (azure-identity): 1.20.0

Step up your Open Source Security Game with Mend here

CVE-2024-12797

Vulnerable Library - cryptography-44.0.0-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/b1/07/40fe09ce96b91fc9276a9ad272832ead0fddedcba87f1190372af8e3039c/cryptography-44.0.0-cp37-abi3-manylinux_2_28_x86_64.whl

Path to dependency file: /default/dockerbuild/completed/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019151/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019411/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019261/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019331/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info,/tmp/ws-ua_20250115001842_FLMVYU/python_HMRKSI/202501150019531/env/lib/python3.8/site-packages/cryptography-44.0.0.dist-info

Dependency Hierarchy:

  • azure_identity-1.19.0-py3-none-any.whl (Root Library)
    • cryptography-44.0.0-cp37-abi3-manylinux_2_28_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 7d4ec1976bf34e113ff183b2bc7fa39af6136591

Found in base branch: main

Vulnerability Details

Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a
server may fail to notice that the server was not authenticated, because
handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode
is set.
Impact summary: TLS and DTLS connections using raw public keys may be
vulnerable to man-in-middle attacks when server authentication failure is not
detected by clients.
RPKs are disabled by default in both TLS clients and TLS servers. The issue
only arises when TLS clients explicitly enable RPK use by the server, and the
server, likewise, enables sending of an RPK instead of an X.509 certificate
chain. The affected clients are those that then rely on the handshake to
fail when the server's RPK fails to match one of the expected public keys,
by setting the verification mode to SSL_VERIFY_PEER.
Clients that enable server-side raw public keys can still find out that raw
public key verification failed by calling SSL_get_verify_result(), and those
that do, and take appropriate action, are not affected. This issue was
introduced in the initial implementation of RPK support in OpenSSL 3.2.
The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-02-11

URL: CVE-2024-12797

CVSS 3 Score Details (4.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://openssl-library.org/news/secadv/20250211.txt

Release Date: 2025-02-11

Fix Resolution (cryptography): 44.0.1

Direct dependency fix Resolution (azure-identity): 1.20.0

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