Repository navigation
fix(deps): Bump setuptools to 84.2.1 (GHSA-xmj3-9gf7-h52w) - #46
Merged
Merged
Conversation
setuptools < 83.0.0 fails to apply MANIFEST.in exclusion rules when the on-disk filename and the pattern differ in Unicode normalization form (NFC/NFD) on macOS APFS/HFS+, allowing unintended files to be packed into a published sdist. Pin the dev-group floor so the transitive dependency (via grpcio-tools) stays patched. Closes dependabot alert #6. Co-Authored-By: Claude Code <noreply@anthropic.com>
setuptools < 84.1.0 allows attacker-controlled content in a wheel's .dist-info/namespace_packages.txt to create an __init__.py outside the requested destination during legacy wheel installation on Windows (CWE-22). Raise the dev-group floor to the patched release. Closes dependabot alert #7. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
>=84.1.0and bump the locked setuptools from 82.0.1 to 84.2.1, fixing GHSA-xmj3-9gf7-h52w: on Windows, attacker-controlled.dist-info/namespace_packages.txtcontent in a wheel can make setuptools' legacy egg-install path create an__init__.pyoutside the intended directory (CWE-22, path traversal).MANIFEST.inexclusion bypass via NFC/NFD normalization on macOS APFS/HFS+ when building sdists) — so this single PR resolves dependabot alerts feat: Add lock to make vote process thread-safe #6 and feat: Prevent handling multiple vote requests simultaneously #7. Note: this project builds with hatchling via an isolated PEP 517 env, so setuptools is not on any actual sdist/build path here; this closes the alerts rather than a live attack surface.🤖 Generated with Claude Code