Advisory

GHSA-537h-rv9q-vvph

Also known as: CVE-2020-13757, PYSEC-2020-99

Summary

Python-RSA decryption of ciphertext leads to DoS

Details

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).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-03-24 18:24 UTC
Modified
2024-10-21 22:00 UTC

Affected packages and fixes

rsa

PyPI · All systems

Affected

  • introduced 0, fixed 4.1 (ecosystem)

Fixed versions

4.1

Fix

  • Fixed version 4.1
    pip install --upgrade rsa==4.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences