PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseGHSA-m252-9cgf-vx2w

GHSA-m252-9cgf-vx2w: 
Ruby vulnerability analysis and mitigation

Summary

When a client is configured with a namespace, a request that hits a transient network error (a timeout, or a connection that memcached or a proxy closed, such as stale connections after a memcached restart) is retried with the namespace applied a second time. Client#perform replaces its key argument with the validated, namespaced key and then uses retry, which re-runs the method with the already-namespaced key, so app:x becomes app:app:x.

Impact

  • A read returns the value of a different key: get('x') returned the value stored under app:app:x. Where cache keys include user input, a user who can choose a key of the form app:<something> can arrange for another user's retried read to return attacker-chosen data, or read data meant for another key.
  • A write lands on a different key, overwriting it.

Affected

  • 5.0.3 and later: every single-key operation (get, set, add, replace, delete, incr, decr, touch, gat, cas, append, prepend, ...).
  • 5.1.0 and later: single-server get_multi.
  • 4.1.0 and later, including all of 5.x: get_with_metadata and fetch_with_lock.
  • Clients without a namespace are not affected. 3.2.x is not affected.

Fix

Every attempt now starts from the caller's key. Fixed in 5.2.2, 5.1.4, 5.0.10 and 4.3.7.


Source: NVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-9h43-g84r-c93mHIGH7.4
  • Ruby logoRuby
  • doorkeeper-openid_connect
NoYesOct 21, 2026
GHSA-wgw9-qhqg-8hv5MEDIUM5.3
  • Ruby logoRuby
  • sanitize
NoYesOct 21, 2026
GHSA-pq4g-8rxf-4g29MEDIUM5.3
  • Ruby logoRuby
  • crass
NoYesOct 21, 2026
GHSA-c62j-746x-gfcrMEDIUM4.8
  • Ruby logoRuby
  • doorkeeper
NoYesOct 21, 2026
GHSA-c8r6-23w7-5q9pLOWN/A
  • Ruby logoRuby
  • doorkeeper
NoNoOct 21, 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

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