Skip to content
OpenAdvisories

Description

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::AtomicReference#update can enter a permanent busy retry loop when the current value is Float::NAN. The issue is caused by the interaction between AtomicReference#update, which retries until compare_and_set(old_value, new_value) succeeds; Numeric compare_and_set, which checks old == old_value before attempting the underlying atomic swap.; and Ruby NaN semantics, where Float::NAN == Float::NAN is always false. As a result, once an AtomicReference contains Float::NAN, calling #update repeatedly evaluates the caller's block and never returns. In services that store externally derived numeric values in an AtomicReference, this can cause CPU exhaustion or permanent request/job hangs. This vulnerability is fixed in 1.3.7.

Affected products

VendorProductAffectedFixed
ruby-concurrency concurrent-ruby < 1.3.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-concurrent 1.3.7-1 —
Debian 13 ruby-concurrent No fix yet —
Debian 12 ruby-concurrent No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-concurrent No fix yet —
Ubuntu 26.04 LTS ruby-concurrent No fix yet —
Ubuntu 25.10 ruby-concurrent No fix yet —
Ubuntu 24.04 LTS ruby-concurrent No fix yet —
Ubuntu 22.04 LTS ruby-concurrent No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-concurrent No fix yet —
Ubuntu 18.04 LTS ruby-concurrent No fix yet —
Ubuntu 16.04 LTS ruby-concurrent No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cinc-auditor 7.1.7-r7 —
Wolfi rolling kube-fluentd-operator 1.18.2-r71 —
Wolfi rolling logstash-9.3 +1 No fix yet —
Wolfi rolling logstash-9.4 +1 9.4.6-r0 —
Wolfi rolling ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesis 1.19.2.1.1-r5 —
Wolfi rolling ruby3.2-kube-logging-operator-fluentd-outputs +1 6.7.0-r5 —
Wolfi rolling ruby3.2-rails-8.1 8.1.3-r6 —
Wolfi rolling ruby3.3-fluentd-kubernetes-daemonset-1.19-kinesis +2 1.19.3.1.0-r0 —
Wolfi rolling ruby3.4-rails-8.1 8.1.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems concurrent-ruby < 1.3.7 1.3.7 GHSA-h8w8-99g7-qmvj

Advisories 1

References