Safety vulnerability ID: 54843
The information on this page was manually curated by our Cybersecurity Intelligence Team.
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.
Latest version: 5.0.9
Config file reading, writing and validation.
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
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application