CVE-2023-42460

_abi_decode input not validated in complex expressions in Vyper

State
Published
Severity
5.3 Medium
Published
Sep 26, 2023
Updated
Sep 24, 2024
Reserved
Sep 8, 2023

Read the record on cve.org

Description

Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue has not yet been fixed, but a fix is expected in release `0.3.10`. Users are advised to reference pull request #3626.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
vypervyperlang
  • >= 0.3.4, < 0.3.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.