
PEACH
Un cadre d’isolation des locataires
In transaction-doctrine from 1.6.0, DoctrineTransactionRunner::forHostEntityManager() detached what a failed run had brought into the host's entity manager, but Doctrine's detach does nothing for an entity in the REMOVED state. When a run loaded an entity, called remove() on it and then failed before the runner's flush (a deadlock, a lock wait timeout, or a domain exception thrown by the closure), the removal stayed scheduled in the host's unit of work after the rollback. The host's next flush(), typically at the end of the same request, then deleted that row even though the operation had failed and been reported as failed. This is data loss. Many nowo-tech bundles run their writes through forHostEntityManager().
Fixed in 1.8.0. After a failed run every scheduled removal of an entity the host did not manage before the run is forgotten entirely (identity map entry, scheduled removal, state, identifier and original data), and the entity is unlinked from the caller's entities like everything else the run brought in.
After a failed run, call clear() on the host's entity manager (or detach the affected entity) before any further flush(), or avoid loading and removing entities inside a run on the host's manager.
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."