Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-24559
February 05, 2024
Vyper is a Pythonic Smart Contract Language for the EVM. There is an error in the stack management when compiling the "IR" for "sha3_64". Concretely, the "height" variable is miscalculated. The vulnerability can't be triggered without writing the "IR" by hand (that is, it cannot be triggered from regular vyper code). "sha3_64" is used for retrieval in mappings. No flow that would cache the "key" was found so the issue shouldn't be possible to trigger when compiling the compiler-generated "IR". This issue isn't triggered during normal compilation of vyper code so the impact is low. At the time of publication there is no patch available.
Affected Packages
vyper (PYTHON):
Affected version(s) >=0.1.0b1 <0.4.0
Fix Suggestion:
Update to version 0.4.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Use of a Broken or Risky Cryptographic Algorithm
EPSS
Base Score:
0.19