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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-682"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42460.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.3.4"
},
{
"fixed": "0.3.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0.3.4"
},
{
"fixed": "0.3.10"
}
],
"source": "CPE_RANGE"
}
]
}