Property
Languagescala
Severityhigh
CWECWE-780: Use of RSA Algorithm without OAEP
OWASPA02:2021 - Cryptographic Failures
Confidence LevelHigh
Impact LevelMedium
Likelihood LevelMedium

Description#

The code uses RSA encryption without OAEP (Optimal Asymmetric Encryption Padding), which makes the encryption weaker and more vulnerable to attacks. Using RSA without proper padding can expose sensitive data.

Impact#

If exploited, attackers could decrypt or tamper with encrypted data by exploiting weaknesses in the padding scheme. This can lead to exposure of confidential information, such as passwords or personal data, undermining the security of your application.