Property
Languagepython
Severityhigh
CWECWE-327: Use of a Broken or Risky Cryptographic Algorithm
OWASPA6:2017 misconfiguration
Confidence LevelMedium
Impact LevelHigh
Likelihood LevelMedium

Description#

The code is using an empty string as the AES encryption key, which means the encryption is extremely weak or ineffective. AES requires a strong, non-empty key to properly secure data.

Impact#

If an empty key is used, attackers can easily decrypt sensitive data, leading to data breaches or exposure of confidential information. This could compromise user privacy, regulatory compliance, and the overall security of the application.