You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by gi...@apache.org on 2026/07/08 05:31:09 UTC

(texera) branch gh-readonly-queue/main/pr-6219-a6c85b3b193de317f73f9b567aa9ceb687bc022b created (now f77ae8c053)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-6219-a6c85b3b193de317f73f9b567aa9ceb687bc022b
in repository https://gitbox.apache.org/repos/asf/texera.git


      at f77ae8c053 fix(deps, pyamber): bump non-Linux torch pin to 2.12.1 (CVE-2025-3000) (#6219)

This branch includes the following new commits:

     new f77ae8c053 fix(deps, pyamber): bump non-Linux torch pin to 2.12.1 (CVE-2025-3000) (#6219)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(texera) 01/01: fix(deps, pyamber): bump non-Linux torch pin to 2.12.1 (CVE-2025-3000) (#6219)

Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-6219-a6c85b3b193de317f73f9b567aa9ceb687bc022b
in repository https://gitbox.apache.org/repos/asf/texera.git

commit f77ae8c0535cb607a340440a4f0ec25f6da377f1
Author: Xinyuan Lin <xi...@uci.edu>
AuthorDate: Tue Jul 7 22:30:48 2026 -0700

    fix(deps, pyamber): bump non-Linux torch pin to 2.12.1 (CVE-2025-3000) (#6219)
    
    ### What changes were proposed in this PR?
    
    Bumps the **non-Linux** `torch` pin in `amber/operator-requirements.txt`
    from `2.12.0` to `2.12.1`.
    
    `torch` is flagged by **CVE-2025-3000** /
    [GHSA-rrmf-rvhw-rf47](https://github.com/advisories/GHSA-rrmf-rvhw-rf47)
    — a `torch.jit.script` memory-corruption (segfault when compiling a
    scripted class with a list attribute; CVSS 5.3, affected range `<=
    2.12.0`, no upstream patched version). Only the non-Linux pin was in
    range; the Linux x86_64 line was already at `2.12.1+cpu`.
    
    | Platform | Before | After |
    | --- | --- | --- |
    | Linux x86_64 | `2.12.1+cpu` | `2.12.1+cpu` (unchanged) |
    | macOS / Windows / other | `2.12.0` (flagged) | `2.12.1` |
    
    Because the advisory's upper bound is `2.12.0`, `2.12.1` sits out of
    range and clears the alert — the same reason the Linux line was never
    flagged despite "patched version: none".
    
    Notes:
    - `2.12.1` has the same cp312 wheel matrix as `2.12.0` (`win_amd64`,
    `macosx_*_arm64`) — a patch-level move with no platform-coverage change.
    - [`amber/LICENSE-binary-python`](amber/LICENSE-binary-python) already
    records `torch==2.12.1` (generated from the Linux resolution), so there
    is **no license-binary drift**.
    - `torch.jit.script` is never called in Texera; `torch` is only a
    transitive runtime dependency of `transformers` (the HuggingFace
    operators). The vulnerable path is unreachable, so this is dependency
    hygiene to clear the Dependabot alert rather than a fix for a reachable
    exploit.
    
    ### Any related issues, documentation, discussions?
    
    Closes #6218
    
    Advisory:
    [GHSA-rrmf-rvhw-rf47](https://github.com/advisories/GHSA-rrmf-rvhw-rf47)
    / [CVE-2025-3000](https://nvd.nist.gov/vuln/detail/CVE-2025-3000)
    
    ### How was this PR tested?
    
    Dependency-only change; no code paths are altered. Verified:
    
    - `torch==2.12.1` cp312 wheels exist on PyPI for `win_amd64` and
    `macosx_*_arm64` (same matrix as `2.12.0`), so the non-Linux resolution
    stays installable.
    - `2.12.1 > 2.12.0`, so the pin exits the CVE-2025-3000 `<= 2.12.0`
    affected range and Dependabot no longer flags it.
    - `amber/LICENSE-binary-python` already lists `torch==2.12.1`, so the
    binary-license check needs no update.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (Opus 4.8 [1M context])
---
 amber/operator-requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/amber/operator-requirements.txt b/amber/operator-requirements.txt
index 6cda4ee893..4765b205cc 100644
--- a/amber/operator-requirements.txt
+++ b/amber/operator-requirements.txt
@@ -23,7 +23,7 @@ pillow==12.2.0
 # Pin torch to the CPU wheel on Linux x86_64 to avoid the NVIDIA CUDA deps.
 --extra-index-url https://download.pytorch.org/whl/cpu
 torch==2.12.1+cpu ; platform_system == "Linux" and platform_machine == "x86_64"
-torch==2.12.0 ; platform_system != "Linux" or platform_machine != "x86_64"
+torch==2.12.1 ; platform_system != "Linux" or platform_machine != "x86_64"
 
 scikit-learn==1.7.2
 transformers==5.3.0