Vulnerability Details : CVE-2017-12852
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2017-12852
- cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-12852
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-12852
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-12852
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-12852
-
https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852
testcasesForMyRequest/CVE-2017-12852 at master · BT123/testcasesForMyRequest · GitHub
-
https://github.com/numpy/numpy/issues/9560#issuecomment-322395292
np.pad(..., mode="reflect") on an empty array goes into an infinite loop · Issue #9560 · numpy/numpy · GitHubExploit;Third Party Advisory
Jump to