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 ARC4 (RC4) cipher for encryption, which is considered insecure due to serious weaknesses that allow attackers to break its encryption. ARC4 should not be used for protecting sensitive data.

Impact#

If ARC4 is used, attackers may be able to decrypt, modify, or forge encrypted data, leading to data breaches, unauthorized access, or exposure of confidential information. This can compromise the security and integrity of your application and users’ data.