CVE Vulnerabilities

CVE-2017-12852

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Aug 15, 2017 | Modified: Oct 03, 2019
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
4 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
LOW

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Numpy Numpy * 1.13.1 (including)
Python-numpy Ubuntu artful *
Python-numpy Ubuntu bionic *
Python-numpy Ubuntu cosmic *
Python-numpy Ubuntu disco *
Python-numpy Ubuntu esm-infra/bionic *
Python-numpy Ubuntu esm-infra/xenial *
Python-numpy Ubuntu trusty *
Python-numpy Ubuntu upstream *
Python-numpy Ubuntu xenial *
Python-numpy Ubuntu zesty *

References