Skip to content

Conversation

@jmaddington
Copy link
Owner

Summary

  • Fix tar-fs path traversal vulnerability (CVE-2024-12905) by upgrading to v2.1.2
  • Fix got UNIX socket redirect vulnerability (CVE-2022-33987) by upgrading to v11.8.5
  • Create a secure wrapper for request package to prevent SSRF vulnerability

Test plan

  • Tested via dependency resolution - yarn list now shows patched versions
  • Added a custom request wrapper that uses node-fetch instead of request to prevent SSRF
  • Note: Unable to run unit tests due to canvas package compilation issues on Node.js v23.9.0

Closes #14, #15, #16

🤖 Generated with Claude Code

jmaddington and others added 2 commits March 31, 2025 14:16
…VE-2024-12905)

- Added tar-fs to overrides and resolutions sections
- Ensures all transitive dependencies use the patched version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ability

- Added a request_wrapper.js that uses node-fetch instead of request
- Added setup.js to patch the request module for tests
- Updated test files to use the secure wrapper
- Addresses SSRF vulnerability in request package (GHSA-p8p7-x288-28g6)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

Security: Update tar-fs to fix path traversal vulnerability (CVE-2024-12905)

2 participants