PyPi: Configobj

CVE-2023-26112

Safety vulnerability ID: 54843

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Apr 03, 2023 Updated at Sep 21, 2024
Scan your Python projects for vulnerabilities →

Advisory

The configobj package affected versions contains a Regular Expression Denial of Service (ReDoS) vulnerability in its validate function. The vulnerable regex (.+?)\((.*)\) allows attackers to cause denial of service using specially crafted input with nested parentheses. This issue primarily affects server-side applications using configobj for configuration parsing. The vulnerability is patched by modifying the regex to ([^\(\)]+?)\((.*)\), preventing matching of nested parentheses.
NOTE: This is only exploitable in the case of a developer putting the offending value in a server side configuration file.

Affected package

configobj

Latest version: 5.0.9

Config file reading, writing and validation.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2023-26112.


MISC:https://github.com/DiffSK/configobj/issues/232: https://github.com/DiffSK/configobj/issues/232
MISC:https://security.snyk.io/vuln/SNYK-PYTHON-CONFIGOBJ-3252494: https://security.snyk.io/vuln/SNYK-PYTHON-CONFIGOBJ-3252494

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 5.9

CVSS v3 Details

MEDIUM 5.9
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH