CVE-2017-20165
debug Inefficient Regular Expression Complexity vulnerability
Description
A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The name of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability. The patch has been backported to the 2.6.x branch in version 2.6.9.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » debugvia npm debug | < 2.6.9>= 3.0.0, < 3.1.0 | 2.6.9, 3.1.0 |
| org.webjars » debugvia npm debug | < 2.6.9>= 3.0.0, < 3.1.0 | 2.6.9, 3.1.0 |
| org.webjars.npm » debugvia npm debug | < 2.6.9>= 3.0.0, < 3.1.0 | 2.6.9, 3.1.0 |
Blast radius
27% of the dependent artifacts (10) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 71 |
| 2 hops | 29 |
| 3 hops | 7 |
Most used dependents
- org.webjars.npm » express38 usages
- org.webjars.npm » body-parser16 usages
- org.webjars.npm » connect14 usages
- org.webjars.npm » mocha11 usages
- org.webjars.npm » socket.io-client9 usages
- org.webjars.npm » serve-static8 usages
- org.webjars.npm » karma7 usages
- org.webjars.npm » browser-sync7 usages
- org.webjars.npm » extract-zip7 usages
- org.webjars.npm » send6 usages
- org.webjars.npm » socket.io5 usages
- org.webjars.npm » finalhandler4 usages
- org.webjars.npm » openlayers4 usages
- org.mvnpm » mocha4 usages
- org.webjars.npm » engine.io3 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2017-20165 | nvd.nist.gov |
| Package | debug-js/debug | github.com |
| Web | debug-js/debug pull request #504 | github.com |
| Web | debug-js/debug commit c38a016 | github.com |
| Web | debug-js/debug commit f53962e | github.com |
| Web | debug-js/debug release 2.6.9 | github.com |
| Web | debug-js/debug release 3.1.0 | github.com |
| Web | vuldb.com | vuldb.com |
| Web | vuldb.com | vuldb.com |
