-
Notifications
You must be signed in to change notification settings - Fork 1
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
Patchwork PR: Autofix #21
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
Quality Gate passedIssues Measures |
7848f2d
to
68397ee
Compare
Add comments to the code next to the injection issue fix. |
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
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
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.