Skip to content

Python-RSA decryption of ciphertext leads to DoS

High severity GitHub Reviewed Published Mar 24, 2021 to the GitHub Advisory Database • Updated Sep 1, 2023

Package

pip rsa (pip)

Affected versions

< 4.1

Patched versions

4.1

Description

Python-RSA before 4.1 ignores leading '\0' bytes during decryption of ciphertext. This could conceivably have a security-relevant impact, e.g., by helping an attacker to infer that an application uses Python-RSA, or if the length of accepted ciphertext affects application behavior (such as by causing excessive memory allocation).

References

Published by the National Vulnerability Database Jun 1, 2020
Reviewed Mar 24, 2021
Published to the GitHub Advisory Database Mar 24, 2021
Last updated Sep 1, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2020-13757

GHSA ID

GHSA-537h-rv9q-vvph
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.