deps: raise docs security floors for gitpython and pymdown-extensions - #107
Merged
Conversation
Fixes all 20 open Dependabot security alerts (docs/pyproject.toml): - gitpython >= 3.1.58 (transitive via mkdocs-git-revision-date-localized-plugin): closes 17 alerts covering command injection via unguarded git option forwarding, git-config name/section injection (core.sshCommand RCE), arbitrary file read/overwrite, and env-var exfiltration. Added as an explicit floor constraint since docs/poetry.lock is gitignored and GitHub's dependency graph otherwise has no patched-floor signal. - pymdown-extensions ^10.7 -> ^11.0.1: closes 3 alerts (b64 path traversal, exponential-backtracking ReDoS). Resolved to gitpython 3.1.60 and pymdown-extensions 11.0.2 locally; mkdocs build passes.
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.
What
Fixes all 20 open Dependabot security alerts against
docs/pyproject.toml:mkdocs-git-revision-date-localized-plugin)>=3.1.58^10.7→^11.0.1GitPython advisories covered: command injection via unguarded git option forwarding (
Repo.clone_from,Repo.archive,IndexFile.checkout, etc.), git-config name/section injection enablingcore.sshCommandRCE, arbitrary file read/overwrite, and environment-variable exfiltration.pymdown-extensions advisories covered:
b64path traversal and exponential-backtracking ReDoS in caret/tilde/betterem/magiclink.Why an explicit gitpython constraint
docs/poetry.lockis gitignored, so GitHub's dependency graph derives versions frompyproject.tomlalone. GitPython never appeared there, so there was no patched-floor signal. The floor constraint documents the requirement and forces the resolver to a patched release.Validation
poetry updateresolves to gitpython 3.1.60 and pymdown-extensions 11.0.2mkdocs buildpasses (only the pre-existing rustdoc-link warning)The 20 alerts should auto-close once this lands on
mainand the dependency graph re-scans the manifest.