CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Vyperlang

CVE-2024-24561
Vyperlang Vyper vulnerability

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.10 and earlier, the bounds check for slices does not account for the ability for start + length to overflow when the values aren't literals. If a slice() function uses a non-literal argument for the start or length variable, this creates the ability for an attacker to overflow the bounds check. This issue can be used to do OOB access to storage, memory or calldata addresses. It can also be used to corrupt the length slot of the respective array.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Vyper. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Vyperlang Vyper runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Vyperlang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.