Skip to content

Commit 4b17e1e

Browse files
bnbongclaude
andcommitted
[FIX] add PDM security floors for urllib3 and anyio, relock
Review feedback: pdm.lock still pinned urllib3 2.7.0 (docs) and anyio 4.13.0 (translation), so `pdm install` in CI kept the vulnerable versions. Declare the floors in [dependency-groups] and regenerate pdm.lock (urllib3 2.8.0, anyio 4.15.1, typing-extensions 4.16.0). uv.lock only picks up the new group specifiers; its resolved versions are unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 50829fb commit 4b17e1e

3 files changed

Lines changed: 19 additions & 11 deletions

File tree

‎pdm.lock‎

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ docs = [
9696
# pygments < 2.20.0 — ReDoS in GUID regex
9797
# requests < 2.33.0 — insecure temp file reuse in extract_zipped_paths
9898
# idna < 3.15 — quadratic complexity in IDNA decoding (transitive via requests)
99+
# urllib3 < 2.8.0 — chunked Deflate streaming infinite loop (GHSA-gh4c-6fx4-qh6g), transitive via requests
99100
"pygments>=2.20.0",
100101
"requests>=2.33.0",
101102
"idna>=3.15",
103+
"urllib3>=2.8.0",
102104
# pymdown-extensions <= 11.0.0 — ReDoS plus two path-traversal advisories;
103105
# 10.17.2+ was already required because earlier releases crash on pygments
104106
# 2.20+ (NoneType filename passed to html.escape), see pymdown-extensions#2580.
@@ -107,6 +109,8 @@ docs = [
107109
translation = [
108110
"openai>=2.8.1",
109111
"anthropic>=0.74.0",
112+
# anyio < 4.14.2 — TLSStream IDNA host-name encoding allows certificate spoofing (GHSA-82r6-8w77-94w6); transitive via httpx
113+
"anyio>=4.14.2",
110114
]
111115

112116
[tool.coverage.run]

‎uv.lock‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)