-
Notifications
You must be signed in to change notification settings - Fork 1
Patchwork PR: Autofix #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: patchwork-autofix-master
Are you sure you want to change the base?
Patchwork PR: Autofix #21
Conversation
…ita5jy6/sqli/dao/user.py
…ita5jy6/sqli/static/js/materialize.js
…ita5jy6/sqli/dao/student.py
…_9tz1ub/sqli/static/js/materialize.js
|
7848f2d to
68397ee
Compare
|
Add comments to the code next to the injection issue fix. |
|
| kdf = PBKDF2HMAC( | ||
| algorithm=hashes.SHA256(), | ||
| length=32, | ||
| salt=salt, |
Check failure
Code scanning / SonarCloud
Password hashing functions should use an unpredictable salt High
f9b2ce4 to
c5c73a5
Compare
b13180b to
01bb552
Compare
21fc23f to
c1173a0
Compare
c1173a0 to
7d4e680
Compare
7d4e680 to
1926874
Compare
61999fe to
e046408
Compare







This pull request from patched fixes 1 issues.
Fixed ReDoS vulnerability by avoiding dynamic regex
Replaced dynamic regex construction with a hardcoded solution to prevent ReDoS attacks.