Skip to content

Fix vulnerability issues in dataset download#203

Merged
dennislwei merged 7 commits into
Trusted-AI:masterfrom
gganapavarapu:master
Jul 22, 2026
Merged

Fix vulnerability issues in dataset download#203
dennislwei merged 7 commits into
Trusted-AI:masterfrom
gganapavarapu:master

Conversation

@gganapavarapu

@gganapavarapu gganapavarapu commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes high-severity dataset download issues in ClimateDataset and FordDataset by hardening remote archive fetching and extraction.

Changes made

Security impact

Addresses:

  • SSRF risk from user-supplied dataset URLs
  • Zip-slip arbitrary file write during zip extraction

Validation

  • Verified both modified files compile successfully with python3 -m compileall

@gganapavarapu gganapavarapu changed the title Fix dataset download issues Fix vulnerability issues in dataset download Jul 17, 2026
gganapavarapu and others added 5 commits July 21, 2026 12:00
Signed-off-by: Giridhar Ganapavarapu <giridhar.ganapavarapu@ibm.com>
Replace retired ubuntu-20.04 with ubuntu-latest, upgrade
actions/checkout from v3 to v4, and actions/setup-python from v4 to v5
to resolve runner timeouts and Node.js 20 deprecation warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
Signed-off-by: Giridhar Ganapavarapu <giridhar.ganapavarapu@ibm.com>
cvxpy 1.4+ no longer bundles the ECOS solver, causing the rbm tests
to fail with "The solver ECOS is not installed."

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
Signed-off-by: Giridhar Ganapavarapu <giridhar.ganapavarapu@ibm.com>
On arm64 macOS runners, Homebrew installs to /opt/homebrew which is
not in the default compiler search path. Export CFLAGS/LDFLAGS so
pygraphviz can find the graphviz headers and libraries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
Signed-off-by: Giridhar Ganapavarapu <giridhar.ganapavarapu@ibm.com>
rule_induction, tsice, tssaliency, and tslime pin pandas<2.0.0 but
left numpy unconstrained. pip installs numpy 2.x which is binary-
incompatible with pandas 1.x, causing "numpy.dtype size changed"
errors at import time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Dennis Wei <dwei@us.ibm.com>
Signed-off-by: Giridhar Ganapavarapu <giridhar.ganapavarapu@ibm.com>
@dennislwei

Copy link
Copy Markdown
Collaborator

Thanks @gganapavarapu!

@dennislwei
dennislwei merged commit 9e95752 into Trusted-AI:master Jul 22, 2026
32 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants