{"containers":{"cna":{"affected":[{"product":"vyper","vendor":"vyperlang","versions":[{"status":"affected","version":"< 0.3.0"}]}],"descriptions":[{"lang":"en","value":"Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions when performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. This issue has been resolved in version 0.3.0."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-119","description":"CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-10-06T17:10:51.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/vyperlang/vyper/pull/2447"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv"}],"source":{"advisory":"GHSA-xv8x-pr4h-73jv","discovery":"UNKNOWN"},"title":"Memory corruption in Vyper","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41121","STATE":"PUBLIC","TITLE":"Memory corruption in Vyper"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"vyper","version":{"version_data":[{"version_value":"< 0.3.0"}]}}]},"vendor_name":"vyperlang"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions when performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. This issue has been resolved in version 0.3.0."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer"}]}]},"references":{"reference_data":[{"name":"https://github.com/vyperlang/vyper/pull/2447","refsource":"MISC","url":"https://github.com/vyperlang/vyper/pull/2447"},{"name":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv","refsource":"CONFIRM","url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv"}]},"source":{"advisory":"GHSA-xv8x-pr4h-73jv","discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T02:59:31.559Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/vyperlang/vyper/pull/2447"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2021-41121","datePublished":"2021-10-06T17:10:51.000Z","dateReserved":"2021-09-15T00:00:00.000Z","dateUpdated":"2024-08-04T02:59:31.559Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}