CVE-2017-12852

numpy: Missing input validation on empty list or ndarray in numpy.pad function

Published Aug 15, 2017 CVSS 3.0 · 7.5 High EPSS 2.7% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0080 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.
Github GHSA Github GHSA GHSA-frgw-fgh6-9g52 Numpy missing input validation
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00721}

epss

{'score': 0.00526}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 6:51 PM
Reserved
Aug 14, 2017, 12:00 AM
Status
Modified
Published
Aug 15, 2017, 4:29 PM
Modified
Jun 17, 2026, 1:04 AM
Severity
Low
Public date
Aug 15, 2017, 12:00 AM