Home / Vulnerability Database / Python : Insecure RSA implementation (BERserk attack)
Python
Python : Insecure RSA implementation (BERserk attack)
Classification
OWASP Top 10 2013
OWASP Top 10 2017
OWASP Top 10 2021
OWASP MASVS
OWASP ASVS
HIPAA
CWE
Overview
The verify function in the RSA package for Python (Python-RSA) before 3.3 is implemented incorrectly. An attacker can spoof signatures with a small public exponent (e.g., 3) via crafted signature padding (BERserk attack).
In order to protect valuable data, use well tested implementations of standard encryption algorithms with sufficiently long keys.
Sensitive Data Exposure vulnerabilities take the third place in the “OWASP Top 10 2017” web-application vulnerabilities ranking.
References
LOW
DerScanner Severity Score
Do you want to fix Python : Insecure RSA implementation (BERserk attack) in your application?
See also
Python
Python : Debug mode on
Python
Python : Web3: Deprecated method
Python
