[GH-ISSUE #5284] [Other] 37 HIGH/CRITICAL CVEs in the 0.2.9-cuda13 image — Python deps & apt (Trivy scan of the published digest) #3149

Open
opened 2026-11-07 14:38:28 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @didlawowo on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5284

[Security] 37 HIGH/CRITICAL CVEs in the 0.2.9-cuda13 image — Python deps & apt (Trivy scan of the published digest)

Scanned the published image with Trivy 0.72.0 (vuln scanner, HIGH+CRITICAL only):

ghcr.io/niko1221/strata@sha256:83e37db8625c67b61c579fd7c0f9068f2d831037a937f139c569502b54290998  (0.2.9-cuda13)

37 findings (34 HIGH, 3 CRITICAL by Trivy severity) across 6 packages. Summary by package:

Package Installed Fixed in Count Highest
pillow 12.3.0 13.0.0 29 3× CRITICAL (CVE-2026-112393, -112398, -112403, -112900, -96639 are rated CRITICAL by Trivy)
urllib3 2.7.0 2.8.0 2 HIGH (CVE-2026-97687, CVE-2026-97689)
msgpack 1.1.2 1.2.3 2 HIGH (CVE-2026-114613, GHSA-6v7p-g79w-8964)
apt / libapt-pkg6.0t64 2.8.3 2.8.4ubuntu0.1 2 HIGH (CVE-2026-109518)
setuptools 70.3.0 78.1.1 1 HIGH (CVE-2025-47273)
certifi 2026.6.17 2026.10.18 1 CRITICAL (GHSA-6q48-6c7w-9gw2)

Full list (Trivy JSON) available on request; a few notable ones:

  • CVE-2026-112393 / -112398 / -112403 / -112900 / -96639 — Pillow image-decompression bugs, CRITICAL
  • CVE-2025-47273 — setuptools path traversal in package extraction
  • CVE-2026-109518 — apt in the base image

We run this image in production on 2× RTX 3090 (server mode, /v1 API only), so exposure is mostly limited to the API surface — but Pillow is reachable via image inputs (/v1/chat/completions with images), which we use.

I searched the tracker first: no existing issue mentions these CVEs or a Trivy scan, so I believe this is a new report.

Suggestion: bump Pillow to 13.0.0, urllib3 2.8.0, msgpack 1.2.3, certifi 2026.10.18, setuptools 78.1.1, and rebuild the base image with Ubuntu apt updates. Happy to re-scan the next cuda13 image to confirm.

Originally created by @didlawowo on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5284 # [Security] 37 HIGH/CRITICAL CVEs in the 0.2.9-cuda13 image — Python deps & apt (Trivy scan of the published digest) Scanned the published image with Trivy 0.72.0 (`vuln` scanner, HIGH+CRITICAL only): ``` ghcr.io/niko1221/strata@sha256:83e37db8625c67b61c579fd7c0f9068f2d831037a937f139c569502b54290998 (0.2.9-cuda13) ``` **37 findings** (34 HIGH, 3 CRITICAL by Trivy severity) across 6 packages. Summary by package: | Package | Installed | Fixed in | Count | Highest | |---|---|---|---|---| | pillow | 12.3.0 | 13.0.0 | 29 | 3× CRITICAL (CVE-2026-112393, -112398, -112403, -112900, -96639 are rated CRITICAL by Trivy) | | urllib3 | 2.7.0 | 2.8.0 | 2 | HIGH (CVE-2026-97687, CVE-2026-97689) | | msgpack | 1.1.2 | 1.2.3 | 2 | HIGH (CVE-2026-114613, GHSA-6v7p-g79w-8964) | | apt / libapt-pkg6.0t64 | 2.8.3 | 2.8.4ubuntu0.1 | 2 | HIGH (CVE-2026-109518) | | setuptools | 70.3.0 | 78.1.1 | 1 | HIGH (CVE-2025-47273) | | certifi | 2026.6.17 | 2026.10.18 | 1 | CRITICAL (GHSA-6q48-6c7w-9gw2) | Full list (Trivy JSON) available on request; a few notable ones: - `CVE-2026-112393 / -112398 / -112403 / -112900 / -96639` — Pillow image-decompression bugs, CRITICAL - `CVE-2025-47273` — setuptools path traversal in package extraction - `CVE-2026-109518` — apt in the base image We run this image in production on 2× RTX 3090 (server mode, `/v1` API only), so exposure is mostly limited to the API surface — but Pillow is reachable via image inputs (`/v1/chat/completions` with images), which we use. I searched the tracker first: no existing issue mentions these CVEs or a Trivy scan, so I believe this is a new report. **Suggestion:** bump Pillow to 13.0.0, urllib3 2.8.0, msgpack 1.2.3, certifi 2026.10.18, setuptools 78.1.1, and rebuild the base image with Ubuntu apt updates. Happy to re-scan the next `cuda13` image to confirm.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6654343064 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@udqe commented on GitHub (Nov 5, 2026):

The Trivy list is real, but the split between image-only and code-only matters, and a second install path - the native Windows one, not a container - shares only one line of it. Our production box is a native install, so we checked the venv setup.py actually built, not the image.

Native 2x 4090 box, Windows 11, 0.1.56 native install, --vision on (the image-decode path is live here, which is the surface those Pillow CVEs are about: decompression bugs, not RCE-by-default). Same file, read-only dist-info, plus requirements.txt from a fresh GitHub master fetch:

package your image (0.2.9) our native venv (0.1.56) requirements.txt @ master today
Pillow 12.3.0 12.3.0 pillow==12.3.0 (unchanged)
urllib3 2.7.0 2.8.0 (fixed) urllib3==2.8.0
certifi 2026.6.17 2026.10.19 (fixed) certifi==2026.10.19
msgpack 1.1.2 absent not in requirements.txt
setuptools 70.3.0 absent not in requirements.txt
apt / libapt 2.8.3 n/a n/a (image base layer)

Two things this says. First, urllib3 and certifi are already fixed in master - the image you scanned simply predates those bumps, so a rebuild of 0.2.10 (which Docker is missing per #5191) closes them without any code change. Second, the Pillow pin has not moved: master today is pillow==12.3.0, which means the native path - anyone who ran setup.py, not just container users - carries the same 29 findings, including the 3 Trivy-critical image-decompression CVEs, and --vision is a normal thing to have on (ours is, for the vision work that prompted our #5202 measurements). The image scan found 37 findings; the pinning says the load-bearing fix is one line: pillow==13.0.0, which lands on both paths at once, with the rebuild landing the rest. We are not running the image, so the image hygiene is yours and the maintainers' to weigh; the pin is visible from any git fetch, and we raise it here because the same pin is what a native agent server actually ships, and on the native path "prod" is a laptop or a workstation with vision on, not a container scanner's radar.

If it helps the triage: our venv has no msgpack and no setuptools, so a native scan of a setup.py install will report Pillow plus the urllib3/certifi already fixed at master - the two packages that make a container differ from the code.

(ai-assisted; dist-info and requirements.txt reads on our box; master fetched today)

<!-- gh-comment-id:6654624977 --> @udqe commented on GitHub (Nov 5, 2026): The Trivy list is real, but the split between image-only and code-only matters, and a second install path - the native Windows one, not a container - shares only one line of it. Our production box is a native install, so we checked the venv setup.py actually built, not the image. Native 2x 4090 box, Windows 11, 0.1.56 native install, --vision on (the image-decode path is live here, which is the surface those Pillow CVEs are about: decompression bugs, not RCE-by-default). Same file, read-only dist-info, plus requirements.txt from a fresh GitHub master fetch: | package | your image (0.2.9) | our native venv (0.1.56) | requirements.txt @ master today | | --- | --- | --- | --- | | Pillow | 12.3.0 | **12.3.0** | **pillow==12.3.0** (unchanged) | | urllib3 | 2.7.0 | **2.8.0** (fixed) | `urllib3==2.8.0` | | certifi | 2026.6.17 | **2026.10.19** (fixed) | `certifi==2026.10.19` | | msgpack | 1.1.2 | **absent** | not in requirements.txt | | setuptools | 70.3.0 | **absent** | not in requirements.txt | | apt / libapt | 2.8.3 | n/a | n/a (image base layer) | Two things this says. First, urllib3 and certifi are already fixed in master - the image you scanned simply predates those bumps, so a rebuild of 0.2.10 (which Docker is missing per #5191) closes them without any code change. Second, the Pillow pin has not moved: master today is pillow==12.3.0, which means the native path - anyone who ran setup.py, not just container users - carries the same 29 findings, including the 3 Trivy-critical image-decompression CVEs, and --vision is a normal thing to have on (ours is, for the vision work that prompted our #5202 measurements). The image scan found 37 findings; the pinning says the load-bearing fix is one line: `pillow==13.0.0`, which lands on both paths at once, with the rebuild landing the rest. We are not running the image, so the image hygiene is yours and the maintainers' to weigh; the pin is visible from any `git fetch`, and we raise it here because the same pin is what a native agent server actually ships, and on the native path "prod" is a laptop or a workstation with vision on, not a container scanner's radar. If it helps the triage: our venv has no msgpack and no setuptools, so a native scan of a setup.py install will report Pillow plus the urllib3/certifi already fixed at master - the two packages that make a container differ from the code. (ai-assisted; dist-info and requirements.txt reads on our box; master fetched today)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6657687503 --> @github-actions[bot] commented on GitHub (Nov 5, 2026): Thanks, this follows the format now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3149
No description provided.