CVE-2023-26112
configobj ReDoS exploitable by developer using values in a server-side configuration file
Reported by snyk · Published April 3, 2023
configobj is fixed in 5.0.9 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| configobj | PyPI | 5.0.9 |
| python3-configobj | Amazon Linux | 5.0.6-23.amzn2023.0.3 |
| python-configobj | Amazon Linux | 4.7.2-7.amzn2.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | configobj | 0 |
| amazon:2023 | python3-configobj | 0 |
| n/a | configobj | 0 |
| PyPI | configobj | 0 |
| chainguard | py3-configobj | * |
| wolfi | py3-configobj | * |
| amazon:2 | python-configobj | 0 |
Timeline
- Apr 3, 2023 CVE Published
- Apr 3, 2023 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-26112
vulnetix vdb fixes CVE-2023-26112
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-26112/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26112 advisory
- https://github.com/advisories/GHSA-c33w-24p9-8m24 advisory
- https://github.com/DiffSK/configobj/commit/7c618b0bbaff6ecaca51a6f05b29795d1377a4a5 patch
- https://github.com/DiffSK/configobj url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BO4RLMYEJODCNUE3DJIIUUFVTPAG6VN url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NZHY7B33EFY4LESP2NI4APQUPRROTAZK url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PYU4IHVLOTYMFPH7KDOJGKZQR4GKWPFK url
- https://pypi.org/project/configobj/5.0.9 url