Below Issues were reported by Security Scan App on the Java Stack
<style>
</style>
| file |
type |
cwe_id |
cwe_title |
cwe_url |
description |
severity |
language |
step_name |
| src/main/java/org/opcfoundation/ua/utils/CertificateUtils.java |
Weak Hash Strength |
CWE-328 |
CWE-328: Use of Weak Hash |
https://cwe.mitre.org/data/definitions/328.html |
'getInstance' method of 'java.security.MessageDigest' uses a non-recommended hash algorithm. |
Low |
Java* |
Weak Hash Strength |
| src/main/java/org/opcfoundation/ua/transport/security/PrivKey.java |
Missing Cryptographic Step |
CWE-325 |
CWE-325: Missing Cryptographic Step |
https://cwe.mitre.org/data/definitions/325.html |
'init' method of 'javax.crypto.Cipher' uses a crypto algorithm in a wrong way. AES key is not properly generated |
Low |
Java* |
javax.crypto.Cipher.init |
| src/main/java/org/opcfoundation/ua/transport/security/PrivKey.java |
Insecure Cryptographic Algorithm |
CWE-327 |
CWE-327: Use of a Broken or Risky Cryptographic Algorithm |
https://cwe.mitre.org/data/definitions/327.html |
'getInstance' method of 'javax.crypto.Cipher' uses a non-recommended crypto algorithm. |
Medium |
Java* |
javax.crypto.Cipher.getInstance |