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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1409754 | issue tracking vdb entry third party advisory |
https://pony7.fr/ctf:public:32c3:cryptmsg | exploit third party advisory technical description |
http://www.openwall.com/lists/oss-security/2016/12/27/8 | third party advisory mailing list |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/ | vendor advisory |
https://github.com/dlitz/pycrypto/issues/176 | patch vendor advisory |
http://www.securityfocus.com/bid/95122 | vdb entry third party advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/ | vendor advisory |
https://security.gentoo.org/glsa/201702-14 | vendor advisory |
https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4 | patch |