Skip to content

Conversation

@nahom-molla
Copy link
Contributor

Fix SSRF Vulnerability in httparty Dependency

Summary

Updates the httparty dependency to address a Server-Side Request Forgery (SSRF) vulnerability affecting all versions ≤ 0.23.2.

Changes

  • httparty: '0.21.0''~> 0.24.0'
  • required_ruby_version: '>= 2.6''>= 2.7' (required by httparty 0.24.0)

Security Reference

Testing

  • All 75 existing tests pass on Ruby 2.7.8

Notes

  • Using pessimistic version constraint (~> 0.24.0) allows future patch updates while preventing breaking changes
  • Ruby 2.6 reached EOL in March 2022; bumping minimum to 2.7 aligns with httparty's requirements

Copy link
Contributor

@adelawalla adelawalla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Need to test them on my local.

Copy link
Contributor

@adelawalla adelawalla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up incrementing the version because the one on Rubygems is already at 1.4.3. Functionality looks good.

@nahom-molla nahom-molla merged commit d93f42b into master Jan 15, 2026
1 check 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.

3 participants