github-advanced-security[bot] commented on code in PR #5436:
URL: https://github.com/apache/shenyu/pull/5436#discussion_r1477709042
##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/DashboardUserServiceImpl.java:
##########
@@ -319,7 +332,25 @@
return true;
}
-
+
+ private String AESDecodePassword(final String password){
+ String encodedPassword = null;
+ try {
+ String key = secretProperties.getKey();
+ String iv = secretProperties.getIv();
+ Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
Review Comment:
## Use of a broken or risky cryptographic algorithm
Cryptographic algorithm [AES/CBC/PKCS5Padding](1) is weak and should not be
used.
[Show more
details](https://github.com/apache/shenyu/security/code-scanning/51)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]