7.5high
CVE-2018-15560
PyCryptodome integer overflow vulnerability
Also known as GHSA-hgg3-g7gr-66r7, PYSEC-2018-21
Published 8 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.8%
percentile 78%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.76% probability of exploitation in the next 30 days, higher than 78% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | pycryptodome | <3.6.6 | 3.6.6 |
Classification
- Weakness
- CWE-190 Integer Overflow or Wraparound
References
- whitehatck01.blogspot.com /2018/08/integer-overflow-vulnerability-in.html · x_refsource_MISC, x_transferred
- github.com /Legrandin/pycryptodome/issues/198 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-15560 · advisory
- github.com /Legrandin/pycryptodome · package
- github.com /advisories/GHSA-hgg3-g7gr-66r7 · advisory
- github.com /pypa/advisory-database/tree/main/vulns/pycryptodome/PYSEC-2018-21.yaml · web
Sources
- CVE List: CVE-2018-15560
- GitHub Advisory: GHSA-hgg3-g7gr-66r7
- NVD: CVE-2018-15560
- OSV: PYSEC-2018-21
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.