Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2016-1494 EUVD-2016-0032GHSA-8rjr-6qq5-pj9pPYSEC-2016-10

Python RSA allows attackers to spoof signatures

Published Jan 13, 2016 · Updated Aug 5, 2024 · Assigned by mitre

Description

The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-rsa 3.2.3-1.1 —
Debian 13 python-rsa 3.2.3-1.1 —
Debian 12 python-rsa 3.2.3-1.1 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-rsa 3.1.2-1ubuntu0.1 —
ReleasePackageFixed inAdvisory
SLES 12 python-rsa 3.1.4-11.1 SUSE-SU-2016:0107-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • matthiasbe/secuimag3a ★ 1 · Dec 2, 2016

    Exploit of the CVE-2016-1494 allowing to forge signatures of RSA keys with low exponents

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI rsa < 3.3 3.3 GHSA-8rjr-6qq5-pj9p

Advisories 1

References