Skip to content
OpenAdvisories
Low · 3.7 CVE-2024-24564 EUVD-2024-0181GHSA-4hwq-4cpm-8vmxPYSEC-2024-205

Vyper extract32 can ready dirty memory

Published Feb 26, 2024 · Updated Oct 25, 2024 · Assigned by GitHub_M

Description

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. When using the built-in `extract32(b, start)`, if the `start` index provided has for side effect to update `b`, the byte array to extract `32` bytes from, it could be that some dirty memory is read and returned by `extract32`. This vulnerability is fixed in 0.4.0.

Affected products

VendorProductAffectedFixed
vyperlang vyper < 0.4.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper < 0.4.0 0.4.0 GHSA-4hwq-4cpm-8vmx

References