Advisory

GHSA-frgw-fgh6-9g52

Also known as: CVE-2017-12852, PYSEC-2017-1

Summary

Numpy missing input validation

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

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:42 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences