CVE-2024-38533 ZKsync Era invalid stack addressing conversion
Invalid stack addressing in the ZKsync Era compiler may allow attackers to cause memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-38533?
CVE-2024-38533 is a medium-severity memory corruption vulnerability in matter-labs era-compiler-vyper, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ZKsync Era is a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum. There is possible invalid stack access due to the addresses used to access the stack not properly being converted to cells. This issue has been patched in version 1.5.0.
Weakness: CWE-787
Which versions are affected by CVE-2024-38533?
How do I fix CVE-2024-38533?
No fix has been published for CVE-2024-38533 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-38533 being exploited?
There is no known exploitation of CVE-2024-38533 in the wild and no public exploit code.
Sources
Also known as GHSA-q7pg-6jh9-87gv.