← Winnitude! Search  ·  Reader Mode (1172 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 1 LINKS

fix: block joined short unsafe clone options by Byron · Pull Request #2162 · gitpython-developers/GitPython

Tasks refackiew @EliahKagan review, and particularly to check if this would sufficiently resolve the advisory. To me it seems so. Advisory URL: GHSA-v396-v7q4-x2qj GHSA ID: GHSA-v396-v7q4-x2qj Severity: high Affected package: GitPython Vulnerable range: = 3.1.50 Patched versions: unreleased at time of writing Changes Normalize short-form clone options with attached values for unsafe-option checks in Git._canonicalize_option_name, so inputs like -u/tmp/helper and -cprotocol.ext.allow=always are correctly classified as -u and -c. Added regression coverage for joined short -u... and -c... bypass forms in test_clone_unsafe_options and test_clone_from_unsafe_options. Added explicit unsafe-option canonicalization assertions in test_check_unsafe_options_normalizes_kwargs. Created by Codex on behalf of Byron. Byron will review before this is ready to merge. Validation gh pr checks 2162 --watch completed successfully (latest run on this PR head). Codex review run for commit 2568f2b7.

Skip to content

Repository navigation