Skip to content

fix: resolve SSRF patch causing mod upload failures and protect against decompression bombs#85

Merged
Fleeym merged 3 commits into
geode-sdk:mainfrom
slideglide:main
Jul 22, 2026
Merged

fix: resolve SSRF patch causing mod upload failures and protect against decompression bombs#85
Fleeym merged 3 commits into
geode-sdk:mainfrom
slideglide:main

Conversation

@slideglide

Copy link
Copy Markdown
Contributor
  • Disabled reqwest automatic redirects so the manual redirect loop works.
  • Fetch current_url instead of the original url in the redirect loop.
  • Support multiple IPs per domain in PINNED_ADDRS to prevent failures.
  • Added additional disallowed IP ranges (0.0.0.0/8, 240.0.0.0/4, etc.) to prevent bypasses.
  • Separated PngDecoder initialization from memory allocation to prevent decompression bombs by checking dimensions before decoding the full image into memory.

slideglide added 3 commits July 22, 2026 19:05
…against decompression bombs

- Disabled reqwest automatic redirects so the manual redirect loop works.
- Fetch current_url instead of the original url in the redirect loop.
- Support multiple IPs per domain in PINNED_ADDRS to prevent failures.
- Added additional disallowed IP ranges (0.0.0.0/8, 240.0.0.0/4, etc.) to prevent bypasses.
- Separated PngDecoder initialization from memory allocation to prevent decompression bombs by checking dimensions before decoding the full image into memory.
@Fleeym
Fleeym merged commit f0a268f into geode-sdk:main Jul 22, 2026
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