AdamOswald / face

GNU General Public License v3.0
6 stars 2 forks source link

numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3) #57

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

NumPy is the fundamental package for array computing with Python.

Library home page: https://files.pythonhosted.org/packages/6d/ad/ff3b21ebfe79a4d25b4a4f8e5cf9fd44a204adb6b33c09010f566f51027a/numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Path to dependency file: /module/dalle-mini-0.1.1

Path to vulnerable library: /module/dalle-mini-0.1.1,/module/SwapNet-jwyang-roi-version/.ws-temp-THANSD-requirements.txt,/PRNet-master/requirements.txt,/module/_tests_requirements.txt,/module/runx-0.0.5/requirements.txt,/module/openai-python-0.22.1,/docs/sphinx_requirements.txt,/requirements.txt,/docs/sphinx_requirements.txt,/module/Jupyter-master/requirements.txt,/module/DALLE2-pytorch-1.10.6,/module/MM-RealSR-1.0.0/requirements.txt,/module/sprites-as-a-service-0.5.0/backend/requirements.txt,/module/extension-cpp-master/requirements.txt,/PRNet-master/requirements.txt,/tmp/ws-scm/face,/module,/SwapNet-jwyang-roi-version/.ws-temp-INQNDT-requirements.txt,/module/requirements.txt,/module/wombopy-main,/module/runx-0.0.5/requirements.txt,/module/MM-RealSR-1.0.0/requirements.txt,/requirements.txt,/SwapNet-jwyang-roi-version/.ws-temp-INQNDT-requirements.txt,/module/Jupyter-master/requirements.txt,/module/openai-python-0.22.1/public,/module/extension-cpp-master/cpp,/module/Bobber-6.3.1,/module/PRNet-master/requirements.txt,/module/imagen-pytorch-1.11.12,/module/SwapNet-jwyang-roi-version/.ws-temp-THANSD-requirements.txt,/module/runx-0.0.5,/module/sprites-as-a-service-0.5.0/backend/requirements.txt,/module/extension-cpp-master/cuda,/module/paperspace-python-0.2.0,/module/PRNet-master/requirements.txt,/module/MM-RealSR-1.0.0

Found in HEAD commit: 1def381581db59d139b24ef0a32eed6f8e3b2af8

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2021-34141 Medium 5.3 numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl Direct numpy - 1.22.0

Details

CVE-2021-34141 ### Vulnerable Library - numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

NumPy is the fundamental package for array computing with Python.

Library home page: https://files.pythonhosted.org/packages/6d/ad/ff3b21ebfe79a4d25b4a4f8e5cf9fd44a204adb6b33c09010f566f51027a/numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Path to dependency file: /module/dalle-mini-0.1.1

Path to vulnerable library: /module/dalle-mini-0.1.1,/module/SwapNet-jwyang-roi-version/.ws-temp-THANSD-requirements.txt,/PRNet-master/requirements.txt,/module/_tests_requirements.txt,/module/runx-0.0.5/requirements.txt,/module/openai-python-0.22.1,/docs/sphinx_requirements.txt,/requirements.txt,/docs/sphinx_requirements.txt,/module/Jupyter-master/requirements.txt,/module/DALLE2-pytorch-1.10.6,/module/MM-RealSR-1.0.0/requirements.txt,/module/sprites-as-a-service-0.5.0/backend/requirements.txt,/module/extension-cpp-master/requirements.txt,/PRNet-master/requirements.txt,/tmp/ws-scm/face,/module,/SwapNet-jwyang-roi-version/.ws-temp-INQNDT-requirements.txt,/module/requirements.txt,/module/wombopy-main,/module/runx-0.0.5/requirements.txt,/module/MM-RealSR-1.0.0/requirements.txt,/requirements.txt,/SwapNet-jwyang-roi-version/.ws-temp-INQNDT-requirements.txt,/module/Jupyter-master/requirements.txt,/module/openai-python-0.22.1/public,/module/extension-cpp-master/cpp,/module/Bobber-6.3.1,/module/PRNet-master/requirements.txt,/module/imagen-pytorch-1.11.12,/module/SwapNet-jwyang-roi-version/.ws-temp-THANSD-requirements.txt,/module/runx-0.0.5,/module/sprites-as-a-service-0.5.0/backend/requirements.txt,/module/extension-cpp-master/cuda,/module/paperspace-python-0.2.0,/module/PRNet-master/requirements.txt,/module/MM-RealSR-1.0.0

Dependency Hierarchy: - :x: **numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl** (Vulnerable Library)

Found in HEAD commit: 1def381581db59d139b24ef0a32eed6f8e3b2af8

Found in base branch: master

### Vulnerability Details

An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless." Mend Note: After conducting further research, Mend has determined that versions 1.12.0 through 1.21.6 of numpy are vulnerable to CVE-2021-34141

Publish Date: 2021-12-17

URL: CVE-2021-34141

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34141

Release Date: 2021-12-17

Fix Resolution: numpy - 1.22.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mezidia-inspector[bot] commented 1 year ago

Nice to meet you, @mend-bolt-for-github[bot]. Thank you for creating an issue. There are some tasks for you:

To close issue send comment "close", to reopen - "reopen"

mezidia-inspector[bot] commented 1 year ago

Nice, one of tasks is done

secure-code-warrior-for-github[bot] commented 1 year ago

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Library"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior

mezidia-inspector[bot] commented 1 year ago

Thanks for issue, @mend-bolt-for-github[bot]! @AdamOswald, thank you for closing this issue, I have less work. I will look forward to our next meeting😜

If you want to reopen the issue - type "reopen"