Inefficient Regular Expression Complexity Affecting python3-configobj package, versions <0:5.0.6-23.amzn2023.0.3


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.27% (71st 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-AMZN2023-PYTHON3CONFIGOBJ-5789013
  • published20 Jul 2023
  • disclosed3 Apr 2023

Introduced: 3 Apr 2023

CVE-2023-26112  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-configobj to version 0:5.0.6-23.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2023-254.

NVD Description

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

All versions of the package configobj are vulnerable to Regular Expression Denial of Service (ReDoS) via the validate function, using (.+?)((.*)).

Note: This is only exploitable in the case of a developer, putting the offending value in a server side configuration file.

CVSS Base Scores

version 3.1