You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix polynomial regex vulnerability in ENCODING_PATTERN
Changed the regex pattern from .* to .*? to use non-greedy matching,
preventing catastrophic backtracking on malicious input.
Added test case to validate the fix with various edge cases.
Co-authored-by: slachiewicz <[email protected]>
0 commit comments