Vulnerability DatabaseGHSA-5wpc-45jc-6ccc

GHSA-5wpc-45jc-6ccc: 
Ruby vulnerability analysis and mitigation

Summary

A malicious or compromised memcached server or intermediary can exhaust Dalli client resources or keep a TLS operation blocked beyond the configured socket_timeout.

Details

Four reply handling paths are affected:

  1. Pipelined get_multi accumulates a header that never ends in CRLF without the 8 KiB limit used for ordinary reply lines.
  2. A declared value length can cause an excessive read, up to memcached's 1 GiB item maximum, even when the default 1 MiB value_max_bytes limits writes.
  3. Stats and quiet or bulk operations accept an unbounded number of complete replies while waiting for their terminator.
  4. On Ruby 3.3 with its default OpenSSL gem, blocking TLS handshake and reply reads can exceed socket_timeout. The attacker must control the memcached endpoint or an intermediary able to alter its replies. Both meta and binary protocols are covered where supported; the unterminated text header applies to the meta protocol. The fix limits incoming value sizes and reply counts, bounds pipelined socket reads and headers, and enforces timeouts for blocking TLS operations.

Impact

Denial of service through excessive memory use, CPU use, or a stalled caller. We have not identified code execution or data disclosure from these issues.

Remediation

Upgrade to the patch release for your supported line: 3.2.16, 4.3.11, 5.0.15, 5.1.9, 5.2.9, or 5.3.3. Incoming values now default to the configured value_max_bytes limit (1 MiB by default). If your deployment stores larger values, set the new max_response_bytes option to the required positive byte count. Until an upgrade is available, restrict memcached connections and intermediaries to trusted infrastructure. Older unsupported release lines may also be affected.


Source: NVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4859-2mvh-r787HIGH7.1
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-6gjg-cqh9-p2xmMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-jjpx-qcfc-pqwpMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-fxxw-9rf3-3f2wMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-wcp8-qw9q-vjppMEDIUM4.9
  • Ruby logoRuby
  • doorkeeper-openid_connect
NoYesNov 23, 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