Zurück zur Liste

Anchor: `InterfaceAccount` allows account substitution between unexpected types — GHSA-429Q-FHH4-R6HJ

GitHub · GitHub · GHSA-429Q-FHH4-R6HJ

ID
GHSA-429Q-FHH4-R6HJ
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
high
CVSS
8.7

Zusammenfassung

### Impact Any uses of `InterfaceAccount` allows another unexpected account type to be passed, after https://github.com/solana-foundation/anchor/pull/3837 disabled discriminator checking for this type. The bug was originally reported and fixed in https://github.com/solana-foundation/anchor/pull/4139, see that PR for more details. ### Patches https://github.com/solana-foundation/anchor/pull/4139 patched the issue…

Produkt

rust: anchor-lang

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Mehr dazu