Skip to content
OpenAdvisories

Description

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReadWriteLock#release_write_lock does not verify that the calling thread acquired the write lock. Any thread with access to the lock object can release an active write lock held by another thread. A second writer can then enter its critical section while the first writer is still running. Concurrent::ReadWriteLock#release_read_lock also decrements the shared counter even when no read lock is held. Calling it on a fresh lock changes the counter from 0 to -1, after which normal read acquisition raises Concurrent::ResourceLimitError. This is a synchronization correctness issue in the public Concurrent::ReadWriteLock API. 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 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rubygem-concurrent-ruby 1.3.7-1 —

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-6wx8-w4f5-wwcr

Advisories 3

References