Descrizione
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to an idle StrictSoftFileLock sentinel can delay acquisition beyond the requested timeout. A Windows opportunistic lock (oplock) on the sentinel can keep the caller’s thread waiting inside the operating system, including during a nonblocking acquisition. This issue is fixed in version 4.3.0.
Tipo di vulnerabilità
CWE-412
Unrestricted Externally Accessible Lock
The product properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of control.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione · Sviluppo
Use any access control that is offered by the functionality that is offering the lock.
Architettura e progettazione · Sviluppo
Use unpredictable names or identifiers for the locks. This might not always be possible or feasible.
Architettura e progettazione
Consider modifying your code to use non-blocking synchronization methods.
Tutte le 8 CVE di tipo CWE-412, con andamento e prevenzione