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

[Snyk: High] Denial of Service (DoS) due - 05/4/2021 #4540

Closed
pkfec opened this issue Apr 7, 2021 · 3 comments
Closed

[Snyk: High] Denial of Service (DoS) due - 05/4/2021 #4540

pkfec opened this issue Apr 7, 2021 · 3 comments
Assignees
Labels
High priority Security: high Remediate within 30 days
Milestone

Comments

@pkfec
Copy link
Contributor

pkfec commented Apr 7, 2021

Update
Adding other Snyk tickets to this as they have the same remediation paths. Here are all four:
https://app.snyk.io/vuln/SNYK-PYTHON-PILLOW-1090584
https://app.snyk.io/vuln/SNYK-PYTHON-PILLOW-1090586
https://app.snyk.io/vuln/SNYK-PYTHON-PILLOW-1090587
https://app.snyk.io/vuln/SNYK-PYTHON-PILLOW-1090588

Overview
Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Denial of Service (DoS). The readline in EPS use an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file can use this to perform a DoS in the open phase, before an image is accepted for opening.

Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation
Upgrade Pillow to version 8.2.0 or higher.
https://app.snyk.io/vuln/SNYK-PYTHON-PILLOW-1090588

@pkfec pkfec added High priority Security: high Remediate within 30 days labels Apr 7, 2021
@pkfec pkfec added this to the Sprint 14.5 milestone Apr 7, 2021
@rfultz rfultz changed the title [Snyk: High] Denial of Service (DoS) due - 05/7/2021 [Snyk: High] Denial of Service (DoS) due - 05/4/2021 Apr 14, 2021
@patphongs
Copy link
Member

These pillow vulnerabilities should be remediated after deploy of the Wagtail upgrade

@rfultz
Copy link
Contributor

rfultz commented Apr 20, 2021

Assigning this to myself to come back to it after Wagtail upgrade launch

@rfultz rfultz self-assigned this Apr 20, 2021
@rfultz
Copy link
Contributor

rfultz commented Apr 27, 2021

Snyk is no longer flagging these

@rfultz rfultz closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority Security: high Remediate within 30 days
Projects
None yet
Development

No branches or pull requests

3 participants