CVE-2021-33026

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-33026
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33026.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-33026
Aliases
Withdrawn
2022-09-16T22:55:27Z
Published
2021-05-13T23:15:07Z
Modified
2024-08-07T03:00:14.848851Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The Flask-Caching extension through 1.10.1 for Flask relies on Pickle for serialization, which may lead to remote code execution or local privilege escalation. If an attacker gains access to cache storage (e.g., filesystem, Memcached, Redis, etc.), they can construct a crafted payload, poison the cache, and execute Python code. NOTE: a third party indicates that exploitation is extremely unlikely unless the machine is already compromised; in other cases, the attacker would be unable to write their payload to the cache and generate the required collision

References

Affected packages

Debian:11 / flask-caching

Package

Name
flask-caching
Purl
pkg:deb/debian/flask-caching?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.9.0-1
1.10.1-1
1.11.1-1

2.*

2.0.0-1
2.0.1-1
2.0.1-2
2.0.1-3
2.0.2-1
2.1.0-1
2.2.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / flask-caching

Package

Name
flask-caching
Purl
pkg:deb/debian/flask-caching?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.2-1
2.1.0-1
2.2.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / flask-caching

Package

Name
flask-caching
Purl
pkg:deb/debian/flask-caching?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.2-1
2.1.0-1
2.2.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}