File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,17 @@ COPY docker/install-conda-deps.sh /tmp/
3232# - mafft's dash_client: Go 1.22.1 binary with Go stdlib CVEs; we never use --dash mode
3333# - Ruby json gem: mummer4/sequip pull in Ruby (via yaggo), whose bundled json gem
3434# has CVE-2026-33210; remove the old default gem and install patched version (>=2.19.2)
35+ # - Ruby erb gem: same chain (mummer4 → yaggo → ruby), CVE-2026-41316 (Marshal
36+ # deserialization bypass via ERB#def_module); remove default gem and install >=6.0.4
3537RUN /tmp/install-conda-deps.sh /tmp/requirements/baseimage.txt /tmp/requirements/core.txt /tmp/requirements/assemble.txt \
3638 --x86-only:/tmp/requirements/assemble-x86.txt && \
3739 rm -f /opt/conda/libexec/mafft/dash_client && \
3840 find /opt/conda/lib/ruby -maxdepth 3 -name 'json*' -not -path '*/psych/*' -exec rm -rf {} + && \
3941 rm -f /opt/conda/lib/ruby/gems/*/specifications/default/json-*.gemspec && \
40- gem install json --version '>=2.19.2' --no-document
42+ gem install json --version '>=2.19.2' --no-document && \
43+ find /opt/conda/lib/ruby -maxdepth 3 -name 'erb*' -exec rm -rf {} + && \
44+ rm -f /opt/conda/lib/ruby/gems/*/specifications/default/erb-*.gemspec && \
45+ gem install erb --version '>=6.0.4' --no-document
4146
4247# Copy source code (includes assembly module)
4348COPY src/ /opt/viral-ngs/source/src/
Original file line number Diff line number Diff line change @@ -29,14 +29,19 @@ COPY docker/install-conda-deps.sh /tmp/
2929# - mafft's dash_client: Go 1.22.1 binary with Go stdlib CVEs; we never use --dash mode
3030# - Ruby json gem: mummer4 → yaggo → Ruby, whose bundled json gem has CVE-2026-33210;
3131# remove the old default gem and install patched version (>=2.19.2)
32+ # - Ruby erb gem: same chain (mummer4 → yaggo → ruby), CVE-2026-41316 (Marshal
33+ # deserialization bypass via ERB#def_module); remove default gem and install >=6.0.4
3234RUN /tmp/install-conda-deps.sh /tmp/requirements/baseimage.txt /tmp/requirements/core.txt /tmp/requirements/assemble.txt /tmp/requirements/classify.txt /tmp/requirements/phylo.txt \
3335 --x86-only:/tmp/requirements/assemble-x86.txt \
3436 --x86-only:/tmp/requirements/classify-x86.txt \
3537 --x86-only:/tmp/requirements/phylo-x86.txt && \
3638 rm -f /opt/conda/libexec/mafft/dash_client && \
3739 find /opt/conda/lib/ruby -maxdepth 3 -name 'json*' -not -path '*/psych/*' -exec rm -rf {} + && \
3840 rm -f /opt/conda/lib/ruby/gems/*/specifications/default/json-*.gemspec && \
39- gem install json --version '>=2.19.2' --no-document
41+ gem install json --version '>=2.19.2' --no-document && \
42+ find /opt/conda/lib/ruby -maxdepth 3 -name 'erb*' -exec rm -rf {} + && \
43+ rm -f /opt/conda/lib/ruby/gems/*/specifications/default/erb-*.gemspec && \
44+ gem install erb --version '>=6.0.4' --no-document
4045
4146# Copy source code (includes all modules)
4247COPY src/ /opt/viral-ngs/source/src/
Original file line number Diff line number Diff line change @@ -29,12 +29,17 @@ COPY docker/install-conda-deps.sh /tmp/
2929# - mafft's dash_client: Go 1.22.1 binary with Go stdlib CVEs; we never use --dash mode
3030# - Ruby json gem: mummer4 pulls in yaggo → Ruby, whose bundled json gem has
3131# CVE-2026-33210; remove the old default gem and install patched version (>=2.19.2)
32+ # - Ruby erb gem: same chain (mummer4 → yaggo → ruby), CVE-2026-41316 (Marshal
33+ # deserialization bypass via ERB#def_module); remove default gem and install >=6.0.4
3234RUN /tmp/install-conda-deps.sh /tmp/requirements/baseimage.txt /tmp/requirements/core.txt /tmp/requirements/phylo.txt \
3335 --x86-only:/tmp/requirements/phylo-x86.txt && \
3436 rm -f /opt/conda/libexec/mafft/dash_client && \
3537 find /opt/conda/lib/ruby -maxdepth 3 -name 'json*' -not -path '*/psych/*' -exec rm -rf {} + && \
3638 rm -f /opt/conda/lib/ruby/gems/*/specifications/default/json-*.gemspec && \
37- gem install json --version '>=2.19.2' --no-document
39+ gem install json --version '>=2.19.2' --no-document && \
40+ find /opt/conda/lib/ruby -maxdepth 3 -name 'erb*' -exec rm -rf {} + && \
41+ rm -f /opt/conda/lib/ruby/gems/*/specifications/default/erb-*.gemspec && \
42+ gem install erb --version '>=6.0.4' --no-document
3843
3944# Copy source code (includes phylo module)
4045COPY src/ /opt/viral-ngs/source/src/
You can’t perform that action at this time.
0 commit comments