製品・ソフトウェアに関する情報
RubyconcurrencyのConcurrent Rubyにおけるラップアラウンドエラーに関する脆弱性
Title RubyconcurrencyのConcurrent Rubyにおけるラップアラウンドエラーに関する脆弱性
Summary

concurrent-rubyはRubyのための最新の並行処理ツールです。バージョン1.3.7より前のConcurrent::ReentrantReadWriteLockには、あるスレッドが読み取りロックを32,768回取得した後に誤って書き込みロックを付与する問題がありました。このロックはスレッドのローカルな読み取りおよび書き込み保持カウントを1つの整数で管理しており、下位15ビットが読み取り保持カウントに、ビット15がWRITE_LOCK_HELDとして使用されています。32,768回の再入読み取り取得後、ローカルの読み取りカウントが書き込みロックのビットに重なり、try_write_lockがスレッドを既に書き込みロックを保持していると誤認します。そのため、グローバルのRUNNING_WRITERビットを設定せずにtrueを返します。これにより、コアとなる排他制御の保証が破られ、呼び出し元は書き込みロックを取得したと認識しますが、他のスレッドは同時に読み取りロックを保持または取得できてしまいます。この脆弱性はバージョン1.3.7で修正されました。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 24, 2026, midnight
Registration Date June 29, 2026, 11:23 a.m.
Last Update June 29, 2026, 11:23 a.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected System
Rubyconcurrency
Concurrent Ruby 1.3.7 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月29日]
  掲載
June 29, 2026, 11:23 a.m.

NVD Vulnerability Information
CVE-2026-54905
Summary

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReentrantReadWriteLock can incorrectly grant a write lock after one thread acquires the read lock 32,768 times. The lock stores a thread's local read and write hold counts in one integer. The low 15 bits are used for the read hold count, and bit 15 is used as WRITE_LOCK_HELD. After 32,768 reentrant read acquisitions, the local read count crosses into the write-lock bit. try_write_lock then treats the thread as already holding a write lock and returns true without setting the global RUNNING_WRITER bit. This breaks the core mutual-exclusion guarantee: the caller is told it has a write lock, but other threads can still hold or acquire read locks at the same time. This vulnerability is fixed in 1.3.7.

Publication Date June 25, 2026, 2:17 a.m.
Registration Date June 27, 2026, 4:22 a.m.
Last Update June 27, 2026, 5:01 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rubyconcurrency:concurrent_ruby:*:*:*:*:*:ruby:*:* 1.3.7
Related information, measures and tools
Common Vulnerabilities List