hoch7.5
CVE-2021-41121
Memory corruption when returning a literal struct with a private call inside of it
Auswirkung
### Impact When performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. ### Patches 0.3.0 / #2447 *
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. 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 |
|---|---|---|---|
| pip | vyper | < 0.3.0 | 0.3.0 |
Betroffene Produkte · Vyperlang
| Produkt | Betroffene Versionen |
|---|---|
| Vyper | vor 0.3.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/vyperlang/vyper/pull/2447
- https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv
- https://github.com/advisories/GHSA-xv8x-pr4h-73jv
- https://nvd.nist.gov/vuln/detail/CVE-2021-41121
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2021-365.yaml