Property
Languagepython
Severitymedium
CWECWE-327: Use of a Broken or Risky Cryptographic Algorithm
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description#

The code is using the Blowfish cipher for encryption, which is outdated and has known weaknesses, especially with certain keys. It is recommended to use a more secure algorithm like AES instead.

Impact#

If Blowfish is used, attackers may be able to exploit its weaknesses to decrypt sensitive data or compromise encrypted information. This can lead to exposure of confidential data, violating compliance requirements and potentially harming users and the organization.