peewee is vulnerable to Inefficient Regular Expression Complexity
61
Medium Risk
Affected versions of this package are vulnerable to a Regular Expression Denial of Service (ReDoS) due to the presence of nested repetition in the FTS5 query validation regex. This regex includes nested quantifiers that can lead to exponential backtracking when processing specific inputs, which can significantly degrade performance. An attacker can exploit this vulnerability by creating and submitting a malicious query string that triggers excessive backtracking in the regex engine. It can result in high CPU consumption and potential service unavailability for other users.
You are affected if you are using a version that falls within the vulnerable range.
peewee is vulnerable to Inefficient Regular Expression Complexity in versions 3.13.2 - 3.18.2.
Upgrade the peewee library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant