Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. numpy
  4. ›
  5. CVE-2017-12852

CVE-2017-12852: Loop with Unreachable Exit Condition (Infinite Loop)

August 15, 2017 (updated October 3, 2019)

The numpy.pad function in Numpy versions is missing input validation. An empty list or array will stick into an infinite loop, which can allow attackers to cause a DoS attack.

References

  • nvd.nist.gov/vuln/detail/CVE-2017-12852

Code Behaviors & Features

Detect and mitigate CVE-2017-12852 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.13.1

Fixed versions

  • 1.13.3

Solution

Upgrade to version 1.13.3 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

pypi/numpy/CVE-2017-12852.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.