Wcmatch
Monthly
wcmatch, the Python wildcard-matching library, can be driven into polynomial-time regular expression backtracking when a pattern containing three or more `**` (GLOBSTAR) segments is matched against a long, non-matching attacker-controlled path, pinning a CPU core for seconds to minutes. Exposure requires a non-default configuration: GLOBSTAR must be explicitly enabled (glob.GLOBSTAR or pathlib.GLOBSTAR) and the application must feed untrusted strings - archive member names, object-store keys, upload paths, request-derived routes - into glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch, while the offending multi-globstar pattern is normally written by the application rather than supplied by the attacker. Availability-only impact (CVSS 4.0 base 8.2, VA:H with AC:H/AT:P and no confidentiality or integrity effect); the vendor advisory includes a public proof-of-concept snippet, but there is no indication of active exploitation, and the flaw is fixed in wcmatch 13.0.
wcmatch, the Python wildcard-matching library, can be driven into polynomial-time regular expression backtracking when a pattern containing three or more `**` (GLOBSTAR) segments is matched against a long, non-matching attacker-controlled path, pinning a CPU core for seconds to minutes. Exposure requires a non-default configuration: GLOBSTAR must be explicitly enabled (glob.GLOBSTAR or pathlib.GLOBSTAR) and the application must feed untrusted strings - archive member names, object-store keys, upload paths, request-derived routes - into glob.globmatch, glob.globfilter, a compiled glob.compile matcher, or pathlib.PurePath.globmatch, while the offending multi-globstar pattern is normally written by the application rather than supplied by the attacker. Availability-only impact (CVSS 4.0 base 8.2, VA:H with AC:H/AT:P and no confidentiality or integrity effect); the vendor advisory includes a public proof-of-concept snippet, but there is no indication of active exploitation, and the flaw is fixed in wcmatch 13.0.