legrandin/pycryptodome · Security
PyCryptodome integer overflow vulnerability
- GHSA ID
- GHSA-hgg3-g7gr-66r7
- CVE ID
- CVE-2018-15560
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-190 · Integer Overflow or Wraparound
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-15560 ↗
- https://github.com/Legrandin/pycryptodome/issues/198 ↗
- https://github.com/advisories/GHSA-hgg3-g7gr-66r7 ↗
- https://whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pycryptodome/PYSEC-2018-21.yaml ↗