-
Notifications
You must be signed in to change notification settings - Fork 172
Comparing changes
Open a pull request
base repository: grantjenks/python-diskcache
base: master
head repository: mapped/python-diskcache
compare: master
- 18 commits
- 10 files changed
- 3 contributors
Commits on Jul 6, 2026
-
Restrict pickle deserialization to safe types (CVE-2025-69872)
BREAKING CHANGE: Pickle deserialization now only permits safe built-in types (builtins, collections, datetime, decimal, fractions, uuid). Arbitrary objects can no longer be deserialized from cache, preventing code execution via crafted pickle payloads. Users caching custom types should migrate to JSONDisk or a custom Disk subclass. There is no opt-out mechanism by design. - Add SafeUnpickler with allowlist-based find_class override - Add UnpicklingError (inherits pickle.UnpicklingError) for downstream compatibility with libraries catching pickle.PickleError - Support pickle protocols 0-5 via __builtin__, copy_reg, and _codecs allowlist entries - Use frozenset values in SAFE_PICKLE_CLASSES to prevent runtime bypass - Bump version to 6.0.0 (breaking change per semver) This takes a different approach to PR #361 (HMAC envelope). The HMAC approach still allows arbitrary deserialization once the signature is verified, meaning an attacker with read+write access to the cache directory can read the auto-generated key file and forge valid payloads. The allowlist approach blocks dangerous types regardless of filesystem access. Fixes: CVE-2025-69872 Closes: #357, #360, #362
Configuration menu - View commit details
-
Copy full SHA for da93160 - Browse repository at this point
Copy the full SHA da93160View commit details -
chore: rename to mapped-diskcache, add PyPI publish CI
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7efeb41 - Browse repository at this point
Copy the full SHA 7efeb41View commit details -
fix(#868k5bbdr): Fix CI, rename to diskcache3, consolidate workflows
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6bbef0a - Browse repository at this point
Copy the full SHA 6bbef0aView commit details -
fix(#868k5bbdr): Use action-vtl, consolidate to single ci.yml
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab91014 - Browse repository at this point
Copy the full SHA ab91014View commit details -
fix(#868k5bbdr): Use OIDC for PyPI publish, rename to mapped-diskcache
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8fe5ee - Browse repository at this point
Copy the full SHA b8fe5eeView commit details -
fix(#868k5bbdr): Update djangocache tests to reflect SafeUnpickler re…
…strictions Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ed55bf - Browse repository at this point
Copy the full SHA 5ed55bfView commit details -
fix(#868k5bbdr): Add blank lines after inline imports (blue formatter)
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ff09f5 - Browse repository at this point
Copy the full SHA 1ff09f5View commit details -
Merge pull request #1 from mapped/fix-cve-2025-69872
Fix CVE-2025-69872: restrict pickle deserialization to safe types
Configuration menu - View commit details
-
Copy full SHA for 3d9b52c - Browse repository at this point
Copy the full SHA 3d9b52cView commit details -
fix(#868k5bbdr): Publish on push to master
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eabad2 - Browse repository at this point
Copy the full SHA 5eabad2View commit details -
Merge pull request #2 from mapped/fix-cve-2025-69872-v2
fix(#868k5bbdr): Publish on push to master
Configuration menu - View commit details
-
Copy full SHA for 59116a0 - Browse repository at this point
Copy the full SHA 59116a0View commit details -
fix(#868k5bbdr): Set releasesBranch=master, use PEP 440 version output
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01280fc - Browse repository at this point
Copy the full SHA 01280fcView commit details -
Merge pull request #3 from mapped/fix-ci-vtl-master
fix(#868k5bbdr): Set releasesBranch=master, use PEP 440 version output
Configuration menu - View commit details
-
Copy full SHA for f93fbc3 - Browse repository at this point
Copy the full SHA f93fbc3View commit details -
fix(#868k5bbdr): Grant contents:write for action-vtl to create tags
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dab6fb - Browse repository at this point
Copy the full SHA 0dab6fbView commit details -
Merge pull request #4 from mapped/fix-ci-vtl-permissions
fix(#868k5bbdr): Grant contents:write for action-vtl to create tags
Configuration menu - View commit details
-
Copy full SHA for d07c6d0 - Browse repository at this point
Copy the full SHA d07c6d0View commit details -
docs(#868k5bbdr): Add fork notice — temporary CVE fix until upstream …
…merges Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4aee2a4 - Browse repository at this point
Copy the full SHA 4aee2a4View commit details -
Merge pull request #5 from mapped/update-readme-fork-notice
docs(#868k5bbdr): Add fork notice — temporary CVE fix until upstream merges
Configuration menu - View commit details
-
Copy full SHA for 4225a43 - Browse repository at this point
Copy the full SHA 4225a43View commit details
Commits on Jul 7, 2026
-
fix(#868k5bbdr): Rename package back to diskcache for git source over…
…ride Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d80fd0c - Browse repository at this point
Copy the full SHA d80fd0cView commit details -
Merge pull request #6 from mapped/rename-to-diskcache
fix(#868k5bbdr): Rename package back to diskcache for git source override
Configuration menu - View commit details
-
Copy full SHA for 4f9a202 - Browse repository at this point
Copy the full SHA 4f9a202View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master