Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-44271 (High) detected in Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl - autoclosed #343

Closed
1 task
mend-for-github-com bot opened this issue Nov 13, 2023 · 3 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged

Comments

@mend-for-github-com
Copy link

CVE-2023-44271 - High Severity Vulnerability

Vulnerable Library - Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl

Python Imaging Library (Fork)

Library home page: https://files.pythonhosted.org/packages/2c/a2/2d565cb1d754384a88998b9c86daf803a3a7908577875231eb99b8c7973d/Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt,/tmp/ws-scm/opensearch-py-ml

Dependency Hierarchy:

  • Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 2c3b744f53a1399af2f6bbd78dc4ca55b7b177d8

Found in base branch: main

Vulnerability Details

An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.

Publish Date: 2023-11-03

URL: CVE-2023-44271

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-11-03

Fix Resolution: Pillow - 10.0.0


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 13, 2023
@rawwar
Copy link
Contributor

rawwar commented Nov 13, 2023

I'm looking into this. Not sure how pillow is being included. I'll check which dependency is installing it and post it here.

@rawwar
Copy link
Contributor

rawwar commented Nov 13, 2023

It seems, Pillow is being installed by matplotlib, sentence_transformer. After creating virtual environments and installing both requirements.txt and requirements-dev.txt, I see that Pillow==10.0.1 is being installed. Which has the vulnerability fixed.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-44271 (High) detected in Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl CVE-2023-44271 (High) detected in Pillow-9.5.0-cp37-cp37m-manylinux_2_28_x86_64.whl - autoclosed Mar 5, 2024
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged
Projects
None yet
Development

No branches or pull requests

1 participant