Inefficient Regular Expression Complexity Affecting python-configobj package, versions <0:4.7.2-7.amzn2.0.1


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-AMZN2-PYTHONCONFIGOBJ-5825977
  • published8 Aug 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:2 python-configobj to version 0:4.7.2-7.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2188.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-configobj package and not the python-configobj package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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