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.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Configobj | Configobj_project | * | * |
Configobj | Ubuntu | bionic | * |
Configobj | Ubuntu | esm-infra-legacy/trusty | * |
Configobj | Ubuntu | esm-infra/bionic | * |
Configobj | Ubuntu | esm-infra/xenial | * |
Configobj | Ubuntu | focal | * |
Configobj | Ubuntu | jammy | * |
Configobj | Ubuntu | kinetic | * |
Configobj | Ubuntu | lunar | * |
Configobj | Ubuntu | mantic | * |
Configobj | Ubuntu | trusty | * |
Configobj | Ubuntu | trusty/esm | * |
Configobj | Ubuntu | xenial | * |
Attackers can create crafted inputs that
intentionally cause the regular expression to use
excessive backtracking in a way that causes the CPU
consumption to spike.