Inefficient Regular Expression Complexity Affecting py3-pipenv package, versions <2024.4.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.69% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-PY3PIPENV-9510238
  • published22 Mar 2025
  • disclosed7 Jul 2024

Introduced: 7 Jul 2024

CVE-2024-3651  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard py3-pipenv to version 2024.4.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-pipenv package and not the py3-pipenv package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1