Advisory

PYSEC-2017-1

Also known as: CVE-2017-12852, GHSA-frgw-fgh6-9g52

Summary

The record has no summary.

Details

The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. An empty list or ndarray will stick into an infinite loop, which can allow attackers to cause a DoS attack.

Severity

Not rated by the source.

Dates

Published
2017-08-15 16:29 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

numpy

PyPI · All systems

Affected

  • introduced 0, fixed 1.13.3 (ecosystem)

Fixed versions

1.13.3

Fix

  • Fixed version 1.13.3
    pip install --upgrade numpy==1.13.3

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: PyPA Advisory Database · CC BY 4.0

Sources & licences