Home

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.

PUBLISHED Reserved 2026-06-16 | Published 2026-06-24 | Updated 2026-06-24 | Assigner GitHub_M




LOW: 2.1CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Problem types

CWE-414: Missing Lock Check

CWE-667: Improper Locking

Product status

< 1.3.7
affected

References

github.com/...t-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr exploit

github.com/...t-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr

cve.org (CVE-2026-54906)

nvd.nist.gov (CVE-2026-54906)

Download JSON