1. Archivio CVE
  2. 2026
  3. CVE-2026-54906

CVE-2026-54906

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
rubyconcurrency concurrent ruby < 1.3.7 ruby

Tipo di vulnerabilità

CWE-414 Missing Lock Check

A product does not check to see if a lock is present before performing sensitive operations on a resource.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità Modificare i dati dell’applicazione, Interruzione del servizio: instabilità, Interruzione del servizio: arresto o riavvio

Come si previene

Architettura e progettazione · Sviluppo Implement a reliable lock mechanism.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 4 CVE di tipo CWE-414, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org