CVE-2024-24567
Assigner: GitHub_M
Published: 2024-01-30T20:17:53.955Z
State: PUBLISHED
title: raw_call `value=` kwargs not disabled for static and delegate calls
problemTypes: descriptions: cweId: CWE-754
description: CWE-754: Improper Check for Unusual or Exceptional Conditions
type: CWE
metrics: cvssV3_1: attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 4.8
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
version: 3.1
affected: vendor: vyperlang
product: vyper
versions: version: <= 0.3.10
status: affected
descriptions: value: Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.
source: advisory: GHSA-x2c2-q32w-4w6m
discovery: UNKNOWN