Vulnerability DatabaseGHSA-mm2p-6q2v-7ph5

GHSA-mm2p-6q2v-7ph5: 
Ruby vulnerability analysis and mitigation

Impact

MetaInspector modified the faraday_options hash passed to MetaInspector.new: it added :url and deleted :redirect. When an application reuses the same hash for several requests (for example, a constant), the redirect options are gone after the first request. Since 5.15.0, faraday_options[:redirect] is the documented way to pass a callback to Faraday's FollowRedirects middleware, for example to block redirects to private IP addresses and prevent server-side request forgery (SSRF). With a reused hash, that callback only runs on the first request. Later requests follow redirects to any host, up to the default limit of 10. You are affected if you pass a redirect callback (or other redirect options) through faraday_options and reuse the same hash object across calls. Building a new hash for every call is not affected. A frozen faraday_options hash raised FrozenError on every request, and the top-level faraday_http_cache hash got a :serializer key added. Neither has a security impact.

Patches

Fixed in 5.19.0: MetaInspector now works on copies and leaves the hashes it is given unchanged.

Workarounds

Pass a new hash on every call instead of reusing one, for example faraday_options: { redirect: { callback: BLOCK_PRIVATE_IPS } } built inline, or faraday_options: FARADAY_OPTIONS.merge(redirect: REDIRECT_OPTIONS.dup).

References


Source: NVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-hjvq-xxqv-7jxhMEDIUM5.9
  • Ruby logoRuby
  • savon
NoYesNov 06, 2026
GHSA-57m8-w3r7-5p3wMEDIUM4
  • Ruby logoRuby
  • savon
NoYesNov 06, 2026
GHSA-6vgc-f9v5-8939MEDIUMN/A
  • Ruby logoRuby
  • metainspector
NoYesNov 06, 2026
GHSA-mm2p-6q2v-7ph5MEDIUMN/A
  • Ruby logoRuby
  • metainspector
NoYesNov 06, 2026
GHSA-q2gc-fpw5-3v3cMEDIUMN/A
  • JavaScript logoJavaScript
  • tina4ruby
NoYesNov 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management