-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Java: Add missing broken crypto algorithms #4833
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
Java: Add missing broken crypto algorithms #4833
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Looks like you got a real test failure in |
Looks like there are actually 2 test failures: |
Sorry I should have checked the other two test cases as well instead of Please advise if there is a better approach to resolve this issue. Thanks. |
I've removed those algorithms from the list of secure algorithms. Please review. Thanks, |
Using broken or weak cryptographic algorithms can leave data vulnerable to being decrypted.
The ECB encryption mode is vulnerable to replay attacks and the CBC mode of operation with PKCS#5 (or PKCS#7) padding is vulnerable to padding oracle attacks. These two types of algorithms are widely treated as insecure/broken cryptographic algorithms in modern standards.
Some references are:
This query adds these two categories to the list of insecure ciphers.
Please consider to merge this PR. Thanks.