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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2017-12852 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 4 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Attack Vector | Local |
Attack Complexity | Low |
Privileges Required | None |
User Interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | None |
Availability Impact | Low |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | python27-numpy | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python35-numpy | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-python34-numpy | Will not fix |
Red Hat OpenStack Platform 11.0 (Ocata) | numpy | Will not fix |
Red Hat OpenShift Enterprise 1 | python27-numpy | Will not fix |
Red Hat Enterprise MRG 1 | numpy | Will not fix |
Red Hat Enterprise Linux 7 | numpy | Will not fix |
Red Hat Enterprise Linux 6 | numpy | Will not fix |