Skip to content

Commit 0f9f902

Browse files
committed
ci(security): add CVE-2025-3000 (torch.jit.script memory corruption) to pip-audit ignore list
CI flagged a new torch advisory on this PR's run: CVE-2025-3000 — local-access memory corruption in torch.jit.script. No fix version published (2.12.0 is latest). We don't call torch.jit.script directly anywhere in the codebase; torch is loaded transitively via transformers / sentence-transformers / pyannote at higher levels. Same exploitation class + same justification as the existing PYSEC-2025-189..197 / PYSEC-2026-139 torch block, so adding alongside with a matching comment block and TODO marker. Drop the ignore when torch upstream ships a fixed version and we bump the pin.
1 parent 91b8715 commit 0f9f902

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

Makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,15 @@ quality: complexity deadcode docstrings spelling
471471
# TODO(transformers PYSECs): drop ignores after bumping transformers to a
472472
# patched 5.x release (paired with the CVE-2026-1839 ignore above).
473473
#
474+
# Ignore CVE-2025-3000 (torch.jit.script memory corruption).
475+
# Local-access attack on the JIT script path. We don't call
476+
# ``torch.jit.script`` directly anywhere in the codebase; torch is loaded
477+
# transitively via transformers / sentence-transformers / pyannote at
478+
# higher levels. Same exploitation class as the PYSEC-2025-189..197 block
479+
# above (no fix version published; 2.12.0 is latest).
480+
# TODO(CVE-2025-3000): drop ignore when torch upstream ships a fixed
481+
# version and we bump the pin.
482+
#
474483
# Note: If protobuf is updated to >=6.33.5 or >=7.0.0, this ignore can be removed
475484
# Note: en-core-web-sm is installed from GitHub (not PyPI), so it cannot be audited by pip-audit
476485
# If it appears in audit output, it can be safely ignored as it's not from PyPI
@@ -504,7 +513,8 @@ quality: complexity deadcode docstrings spelling
504513
--ignore-vuln PYSEC-2025-217 \
505514
--ignore-vuln PYSEC-2025-218 \
506515
--ignore-vuln PYSEC-2026-161 \
507-
--ignore-vuln MAL-2026-4750
516+
--ignore-vuln MAL-2026-4750 \
517+
--ignore-vuln CVE-2025-3000
508518
# PYSEC-2026-161 (starlette<1.0.1, Host-header URL-path poisoning, GHSA-86qp-5c8j-p5mr):
509519
# Not exploitable in this codebase — grep -rn 'request.url.path' src/ is empty;
510520
# FastAPI routing uses the real request path, not the reconstructed URL. Traefik

0 commit comments

Comments
 (0)