Advisory

GHSA-hgg3-g7gr-66r7

Also known as: CVE-2018-15560, PYSEC-2018-21

Summary

PyCryptodome integer overflow vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-08-27 19:52 UTC
Modified
2024-10-21 21:17 UTC

Affected packages and fixes

pycryptodome

PyPI · All systems

Affected

  • introduced 0, fixed 3.6.6 (ecosystem)

Fixed versions

3.6.6

Fix

  • Fixed version 3.6.6
    pip install --upgrade pycryptodome==3.6.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences