kritisch9.8
CVE-2021-24044
Access of Resource Using Incompatible Type in Hermes
Auswirkung
By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | hermes-engine | <= 0.9.0 | 0.10.0 |
Betroffene Produkte · Facebook
| Produkt | Betroffene Versionen |
|---|---|
| Hermes | vor 0.10.0 |