Skip to content

Commit 4d2be00

Browse files
committed
Fix critical nltk Zip Slip vulnerability (CVE in dependabot #48)
Add uv override to require nltk>=3.9.3, which patches the Zip Slip vulnerability that allows arbitrary code execution via malicious zip packages in NLTK's downloader component. The vulnerable nltk 3.9.2 was pulled in as a transitive dependency via the safety package.
1 parent 1649e12 commit 4d2be00

2 files changed

Lines changed: 1017 additions & 385 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ managed = true
258258
package = true
259259
default-groups = "all"
260260

261+
# Fix critical Zip Slip vulnerability in nltk < 3.9.3 (transitive dep via safety)
262+
# https://github.com/libranet/autoread-dotenv/security/dependabot/48
263+
override-dependencies = ["nltk>=3.9.3"]
264+
261265
[[tool.uv.index]]
262266
name = "testpypi"
263267
url = "https://test.pypi.org/simple/"

0 commit comments

Comments
 (0)