Skip to content

openai-1.13.3-py3-none-any.whl: 2 vulnerabilities (highest severity is: 6.2) unreachable #49

Description

@mend-for-github-com
Vulnerable Library - openai-1.13.3-py3-none-any.whl

Sample Path to Dependency File: /Pipfile

Path to vulnerable library: /tmp/containerbase/cache/.local/share/virtualenvs/AutoPrompt-jrKn-qKh-python/lib/python3.10/site-packages/idna-3.6.dist-info

Found in HEAD commit: 09f51f74740b88648be208302ec569217b51a66f

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (openai version) Remediation Possible** Reachability
CVE-2024-3651 Medium 6.2 Not Defined 1.386% idna-3.6-py3-none-any.whl Transitive 1.13.4

Unreachable

CVE-2026-45409 Medium 5.3 Not Defined 0.408% idna-3.6-py3-none-any.whl Transitive N/A*

Unreachable

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2024-3651

Vulnerable Library - idna-3.6-py3-none-any.whl

Internationalized Domain Names in Applications (IDNA)

Library home page: https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl

Sample Path to Dependency File: /Pipfile

Path to vulnerable library: /tmp/containerbase/cache/.local/share/virtualenvs/AutoPrompt-jrKn-qKh-python/lib/python3.10/site-packages/idna-3.6.dist-info

Dependency Hierarchy:

  • openai-1.13.3-py3-none-any.whl (Root Library)
    • anyio-4.3.0-py3-none-any.whl
      • idna-3.6-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 09f51f74740b88648be208302ec569217b51a66f

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

A vulnerability was identified in the kjd/idna library, specifically within the "idna.encode()" function, affecting version 3.6. The issue arises from the function's handling of crafted input strings, which can lead to quadratic complexity and consequently, a denial of service condition. This vulnerability is triggered by a crafted input that causes the "idna.encode()" function to process the input with considerable computational load, significantly increasing the processing time in a quadratic manner relative to the input size.

Publish Date: 2024-07-07

URL: CVE-2024-3651

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 1.386%

CVSS 3 Score Details (6.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • 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: https://nvd.nist.gov/vuln/detail/CVE-2024-3651

Release Date: 2024-07-07

Fix Resolution (idna): 3.7

Direct dependency fix Resolution (openai): 1.13.4

In order to enable automatic remediation, please create workflow rules

CVE-2026-45409

Vulnerable Library - idna-3.6-py3-none-any.whl

Internationalized Domain Names in Applications (IDNA)

Library home page: https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl

Sample Path to Dependency File: /Pipfile

Path to vulnerable library: /tmp/containerbase/cache/.local/share/virtualenvs/AutoPrompt-jrKn-qKh-python/lib/python3.10/site-packages/idna-3.6.dist-info

Dependency Hierarchy:

  • openai-1.13.3-py3-none-any.whl (Root Library)
    • anyio-4.3.0-py3-none-any.whl
      • idna-3.6-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 09f51f74740b88648be208302ec569217b51a66f

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

Internationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as ""\u0660" * N" or ""\u30fb" * N + "\u6f22"" utilize the "valid_contexto" function prior to length rejection, and for high values of "N" will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the "idna.encode()" function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the "idna.encode()" function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.

Publish Date: 2026-06-05

URL: CVE-2026-45409

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.408%

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-65pc-fj4g-8rjx

Release Date: 2026-05-19

Fix Resolution: idna - 3.15


In order to enable automatic remediation for this issue, please create workflow rules

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions