CVE-2024-24561

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-24561
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-24561.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-24561
Aliases
Published
2024-02-01T16:37:01Z
Modified
2025-10-30T19:33:35Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Vyper bounds check on built-in `slice()` function can be overflowed
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-119"
    ]
}
References

Affected packages

Git /

Affected ranges