Inefficient Regular Expression Complexity Affecting python3 package, versions <0:3.7.16-1.amzn2.0.18


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.47% (38th 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 IDSNYK-AMZN2-PYTHON3-10692574
  • published11 Jul 2025
  • disclosed17 Jun 2025

Introduced: 17 Jun 2025

CVE-2025-6069  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3 to version 0:3.7.16-1.amzn2.0.18 or higher.
This issue was patched in ALAS2-2025-2923.

NVD Description

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

The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.

CVSS Base Scores

version 3.1