Use of deprecated numpy.distutils
Description
The use of numpy.distutils is deprecated and will be removed in the future. It is recommended to use alternative methods to avoid potential compatibility issues.
Examples
Insecure Code
python
import numpy.distutilsSecure Code
python
import setuptoolsRemediation
Replace numpy.distutils with the recommended alternative methods.
Rule Details
| Field | Value |
|---|---|
| ID | CODE-0219 |
| Category | InsecureConfig |
| Severity | LOW |
| CWE | CWE-676 |
| Confidence | HIGH |
| Impact | LOW |
| Likelihood | MEDIUM |
| Exploitability | COMPLEX |
| Tags | deprecated, compatibility |
| OWASP | N/A |