2022-02-10 17:01:11 +00:00
{
"CVE_data_meta" : {
2022-04-13 21:12:50 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
2022-02-10 17:01:11 +00:00
"ID" : "CVE-2022-24845" ,
2022-04-13 21:12:50 +00:00
"STATE" : "PUBLIC" ,
"TITLE" : "Integer bounds error in Vyper"
2022-02-10 17:01:11 +00:00
} ,
2022-04-13 21:12:50 +00:00
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "vyper" ,
"version" : {
"version_data" : [
{
"version_value" : "< 0.3.2"
}
]
}
}
]
} ,
"vendor_name" : "vyperlang"
}
]
}
} ,
"data_format" : "MITRE" ,
"data_type" : "CVE" ,
"data_version" : "4.0" ,
2022-02-10 17:01:11 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-04-13 21:12:50 +00:00
"value" : "Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue."
}
]
} ,
"impact" : {
"cvss" : {
"attackComplexity" : "LOW" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 8.8 ,
"baseSeverity" : "HIGH" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"privilegesRequired" : "NONE" ,
"scope" : "UNCHANGED" ,
"userInteraction" : "REQUIRED" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" ,
"version" : "3.1"
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-190: Integer Overflow or Wraparound"
}
]
2022-02-10 17:01:11 +00:00
}
]
2022-04-13 21:12:50 +00:00
} ,
"references" : {
"reference_data" : [
{
"name" : "https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b" ,
"refsource" : "MISC" ,
"url" : "https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b"
2022-04-13 22:01:38 +00:00
} ,
{
"name" : "https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h" ,
"refsource" : "CONFIRM" ,
"url" : "https://github.com/vyperlang/vyper/security/advisories/GHSA-j2x6-9323-fp7h"
2022-04-13 21:12:50 +00:00
}
]
} ,
"source" : {
"advisory" : "GHSA-j2x6-9323-fp7h" ,
"discovery" : "UNKNOWN"
2022-02-10 17:01:11 +00:00
}
}