Commit 6530d26
committed
fix(hvp-monolith): clear Trivy CVEs (nuke pkgs cache, bump numexpr, justify locked CVEs)
Three changes addressing the 12 CVEs Trivy flagged on hvp-monolith:
1. Dockerfile cleanup: remove /opt/conda/pkgs/* (was: only pkgs/cache).
The extracted package dirs hold a second copy of every installed
package (~9 GB) plus stale versions left behind by env solves.
Eliminates CVE-2026-1669 (keras 3.12.0 only existed in pkgs/; base
env has 3.14.1) and shrinks the final image.
2. env-vcontact2.yaml: pin numexpr>=2.8.5 to clear CVE-2023-39631
(CRITICAL — langchain RCE via evaluate). 2.8.5 is the lowest fixed
release and still py=3.8 + numpy<1.24 compatible.
3. .trivyignore: document the remaining CVEs that are upstream-locked
and not reachable in our pipeline:
- DVF env (py=3.6 ceiling): keras 2.2.4, setuptools 58.0.4 CVEs
- vcontact2 env (py=3.8 ceiling): urllib3 2.2.3, setuptools 75.3.0
- jaraco.context 5.3.0 vendored by both setuptools above
- Ruby json/net-imap from das_tool's bioconda dep on r44 ruby
Each .trivyignore entry includes a written reachability argument and a
quarterly review reminder per AGENTS.md.1 parent d44158a commit 6530d26
3 files changed
Lines changed: 71 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | | - | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
0 commit comments