Inefficient Regular Expression Complexity Affecting python39:3.9/python39-psycopg2-tests package, versions <0:2.8.6-3.module_el8.10.0+3765+2f9a457d


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.84% (75th 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-ALMALINUX8-PYTHON39-7173273
  • published31 May 2024
  • disclosed29 May 2024

Introduced: 29 May 2024

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

How to fix?

Upgrade AlmaLinux:8 python39:3.9/python39-psycopg2-tests to version 0:2.8.6-3.module_el8.10.0+3765+2f9a457d or higher.
This issue was patched in ALSA-2024:3466.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-psycopg2-tests package and not the python39:3.9/python39-psycopg2-tests package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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