diskcache@5.4.0 vulnerabilities

Disk Cache -- Disk and file backed persistent cache.

Direct Vulnerabilities

Known vulnerabilities in the diskcache package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Deserialization of Untrusted Data

diskcache is a Disk Cache -- Disk and file backed persistent cache.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to the unsafe use of the pickle.load function in the Cache class. An attacker can execute arbitrary code by writing malicious data to the cache directory and triggering deserialization when the application reads from the cache.

Note: This is only exploitable if the attacker has write access to the cache directory.

How to fix Deserialization of Untrusted Data?

There is no fixed version for diskcache.

[0,)