Search for vulnerabilities
Vulnerability details: VCID-emwt-ezmx-aaap
Vulnerability ID VCID-emwt-ezmx-aaap
Aliases BIT-2021-28677
BIT-pillow-2021-28677
CVE-2021-28677
GHSA-q5hq-fp76-qmrc
PYSEC-2021-93
Summary An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
Status Published
Exploitability 0.5
Weighted Severity 9.0
Risk 4.5
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
generic_textual Low http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-28677.html
rhas Moderate https://access.redhat.com/errata/RHSA-2021:4149
cvssv3 7.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28677.json
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00158 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00216 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00444 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00456 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
epss 0.00706 https://api.first.org/data/v1/epss?cve=CVE-2021-28677
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1958257
generic_textual Low https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28677
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-q5hq-fp76-qmrc
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-93.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-93.yaml
cvssv3.1 6.7 https://github.com/python-pillow/Pillow
generic_textual MODERATE https://github.com/python-pillow/Pillow
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/5a5e6db0abf4e7a638fb1b3408c4e495a096cb92
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/5a5e6db0abf4e7a638fb1b3408c4e495a096cb92
cvssv3.1 5.5 https://github.com/python-pillow/Pillow/pull/5377
generic_textual MODERATE https://github.com/python-pillow/Pillow/pull/5377
cvssv3.1 9.8 https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
generic_textual CRITICAL https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
cvssv3.1 5.5 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
generic_textual MODERATE https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-28677
cvssv3 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-28677
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-28677
cvssv3.1 7.5 https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-open
generic_textual HIGH https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-open
cvssv3.1 5.5 https://security.gentoo.org/glsa/202107-33
generic_textual MODERATE https://security.gentoo.org/glsa/202107-33
generic_textual Low https://ubuntu.com/security/notices/USN-4963-1
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-28677.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28677.json
https://api.first.org/data/v1/epss?cve=CVE-2021-28677
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28677
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-93.yaml
https://github.com/python-pillow/Pillow
https://github.com/python-pillow/Pillow/commit/5a5e6db0abf4e7a638fb1b3408c4e495a096cb92
https://github.com/python-pillow/Pillow/pull/5377
https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/
https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-open
https://security.gentoo.org/glsa/202107-33
https://ubuntu.com/security/notices/USN-4963-1
1958257 https://bugzilla.redhat.com/show_bug.cgi?id=1958257
989062 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989062
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
CVE-2021-28677 https://nvd.nist.gov/vuln/detail/CVE-2021-28677
GHSA-q5hq-fp76-qmrc https://github.com/advisories/GHSA-q5hq-fp76-qmrc
RHSA-2021:4149 https://access.redhat.com/errata/RHSA-2021:4149
USN-4963-1 https://usn.ubuntu.com/4963-1/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28677.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-93.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H Found at https://github.com/python-pillow/Pillow
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/python-pillow/Pillow/commit/5a5e6db0abf4e7a638fb1b3408c4e495a096cb92
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://github.com/python-pillow/Pillow/pull/5377
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-28677
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-28677
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-28677
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28677-fix-eps-dos-on-open
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://security.gentoo.org/glsa/202107-33
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.52910
EPSS Score 0.00158
Published At Nov. 1, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.