نسخههای متأثر
بازهها نیاز به بررسی دارند.
Rust / Cargoanchor-lang
- نسخههای متأثر
- >=1.0.0-rc.1 <1.0.0-rc.2
- نسخهٔ اصلاحشده
- 1.0.0-rc.2
Rust / Cargoanchor-lang
- نسخههای متأثر
- = 1.0.0-rc.1
- نسخهٔ اصلاحشده
- 1.0.0-rc.2
شرح آسیبپذیری
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 and was released in 1.0.0-rc.2. Users should upgrade to the latest released version of Anchor 1.0.
References
Bug landed in: https://github.com/solana-foundation/anchor/pull/3837 Bug fixed in: https://github.com/solana-foundation/anchor/pull/4139
پیوندها
- https://crates.io/crates/anchor-lang
- https://github.com/advisories/GHSA-429q-fhh4-r6hj
- https://github.com/otter-sec/anchor/commit/26ef36968a62e28a1f028e7adae4806af30c747d
- https://github.com/otter-sec/anchor/pull/3837
- https://github.com/otter-sec/anchor/pull/4139
- https://github.com/otter-sec/anchor/security/advisories/GHSA-429q-fhh4-r6hj
- https://github.com/solana-foundation/anchor
- https://github.com/solana-foundation/anchor/commit/26ef36968a62e28a1f028e7adae4806af30c747d
- https://github.com/solana-foundation/anchor/pull/3837
- https://github.com/solana-foundation/anchor/pull/4139
- https://github.com/solana-foundation/anchor/security/advisories/GHSA-429q-fhh4-r6hj
- https://rustsec.org/advisories/RUSTSEC-2026-0146.html
گزارشدهندگان
- acheroncrypto

