CVE-2018-15560
Pycryptodome vulnerability
PyCryptodome before 3.6.6 has an integer overflow in the data_len variable in AESNI.c, related to the AESNI_encrypt and AESNI_decrypt functions, leading to the mishandling of messages shorter than 16 bytes.
Affected products
Pycryptodome. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pycryptodome runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Legrandin/pycryptodome/issues/198 · Exploit
- whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-15560
- github.com/advisories/GHSA-hgg3-g7gr-66r7
- github.com/pypa/advisory-database/tree/main/vulns/pycryptodome/PYSEC-2018-21.yaml
- nvd.nist.gov/vuln/detail/CVE-2018-15560
- cve.org/CVERecord?id=CVE-2018-15560
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.