—
PYSEC-2017-94
Quick fix
PYSEC-2017-94 — pycrypto: upgrade to the fixed version with the command below.
pip install --upgrade 'pycrypto>=8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4'Details
Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/pycrypto
Introduced in:
0Fixed in: 8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4Fix
pip install --upgrade 'pycrypto>=8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4'References
- https://pony7.fr/ctf:public:32c3:cryptmsg[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/[WEB]
- https://github.com/dlitz/pycrypto/issues/176[REPORT]
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4[FIX]
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754[REPORT]
- http://www.securityfocus.com/bid/95122[WEB]
- http://www.openwall.com/lists/oss-security/2016/12/27/8[WEB]
- https://security.gentoo.org/glsa/201702-14[ADVISORY]
- https://github.com/advisories/GHSA-cq27-v7xp-c356[ADVISORY]