Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integer overflow vulnerability in pycryptodome module #198

Closed
byck01 opened this issue Aug 17, 2018 · 1 comment
Closed

Integer overflow vulnerability in pycryptodome module #198

byck01 opened this issue Aug 17, 2018 · 1 comment

Comments

@byck01
Copy link

byck01 commented Aug 17, 2018

1.Install pycryptodome module in python

2.Run the following poc
python poc.py

from Crypto.Cipher import AES
data = 'hello'
key = b'this is a 16 key'
aes = AES.new(key,AES.MODE_ECB)
aes.encrypt(data.encode())

3.python will crash(Segmentation fault)

4.Specific vulnerability analysis reference:
https://whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html

@Legrandin
Copy link
Owner

Thank you! This is fixed in v3.6.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants