Commit fe939b2
Fix CVE-2026-33210: upgrade Ruby json gem to >=2.19.2
The sequip conda package pulls in Ruby, whose bundled default json gem
(2.18.0) is vulnerable to a format string injection (DoS/info-disclosure
when parsing with allow_duplicate_key: false).
Ruby's default gem mechanism doesn't support in-place upgrades: `gem
install` adds the new version to the load path but leaves the old
gemspec and source files on disk, which Trivy continues to flag. Fix
by removing the old default gem files (excluding psych/json which is
unrelated) then installing the patched version cleanly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3aa0d44 commit fe939b2
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
0 commit comments