derrickaw opened a new pull request, #41365:
URL: https://github.com/apache/beam/pull/41365

   Note: this PR was auto-generated by tooling. Before moving it out of draft, 
the author has done a full review of the PR, specifically evaluating it on the 
following criteria:
   
   - The PR remediates a confirmed, live vulnerability on `master` that 
Dependabot is not already addressing
   - The version update is minimal, respects Beam's compatibility bounds, and 
avoids unrelated dependency churn
   - Relevant lockfiles, package constraints, and tests have been verified
   
   If you have concerns with the PR or with the underlying methodology used to 
generate this, please comment below - they will be addressed by the author not 
the tooling :)
   
   ## Summary
   
   Bumps `torch` from `2.7.1` to `2.13.0` and `transformers` from `4.53.0` to 
`5.10.0` in 
[`sdks/python/apache_beam/examples/inference/large_language_modeling/requirements.txt`](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/large_language_modeling/requirements.txt)
 to remediate **10 open Dependabot security alerts** (5 High, 3 Medium, 2 Low) 
where Dependabot has no open PR.
   
   ## Remediated Security Advisories
   
   | Dependabot Alert | Package | Advisory | Severity | Vulnerable Range | 
First Patched / Safe |
   | :--- | :--- | :--- | :--- | :--- | :--- |
   | `#4490` | `torch` | `CVE-2026-24747` (`GHSA-63cw-57p8-fm3p`) | **High** | 
`< 2.10.0` | `2.10.0` |
   | `#3424` | `transformers` | `CVE-2026-80047` (`GHSA-x9r9-c232-4q39`) | 
**High** | `>= 4.49.0, <= 5.8.1` | `> 5.8.1` (`5.10.0`) |
   | `#3106` | `transformers` | `CVE-2026-9856` (`GHSA-xrqw-3rrv-vx5w`) | 
**High** | `< 5.10.0` | `5.10.0` |
   | `#2592` | `transformers` | `CVE-2026-5241` (`GHSA-fgcw-684q-jj6r`) | 
**High** | `< 5.5.0` | `5.5.0` |
   | `#2574` | `transformers` | `CVE-2026-4372` (`GHSA-29pf-2h5f-8g72`) | 
**High** | `< 5.3.0` | `5.3.0` |
   | `#2445` | `torch` | `CVE-2025-2999` (`GHSA-vgrw-7cvw-pwgx`) | **Medium** | 
`< 2.9.1` | `2.9.1` |
   | `#2094` | `transformers` | `CVE-2026-1839` (`GHSA-69w3-r845-3855`) | 
**Medium** | `< 5.0.0rc3` | `5.0.0rc3` |
   | `#1338` | `torch` | `CVE-2025-3730` (`GHSA-887c-mr87-cxwp`) | **Medium** | 
`<= 2.7.1` | `2.8.0` |
   | `#2633` | `torch` | `CVE-2025-3000` (`GHSA-rrmf-rvhw-rf47`) | **Low** | 
`<= 2.12.1` | `2.13.0` |
   | `#2449` | `torch` | `CVE-2025-3001` (`GHSA-qfhq-4f3w-5fph`) | **Low** | `< 
2.10.0` | `2.10.0` |
   
   ## Compatibility & Verification
   
   - **SDK & API compatibility**: Both `torch==2.13.0` and 
`transformers==5.10.0` are within Beam's supported `[torch]` (`<2.15.0`) and 
`[transformers]` (`<5.21.0`) ranges in `sdks/python/setup.py`, and 
`AutoConfig`, `AutoTokenizer`, and `T5ForConditionalGeneration` in 
`large_language_modeling/main.py` remain supported alongside 
`sentencepiece==0.2.1`.
   - **Verification**: Verified dependency resolution compatibility (`pip 
install --dry-run`) and syntax/compilation (`python3 -m py_compile main.py`).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to