gsd-2021-41121
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
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.
Aliases
Aliases
{ GSD: { alias: "CVE-2021-41121", description: "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.", id: "GSD-2021-41121", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2021-41121", ], details: "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.", id: "GSD-2021-41121", modified: "2023-12-13T01:23:27.295949Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { 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", }, }, "gitlab.com": { advisories: [ { affected_range: "<0.3.0", affected_versions: "All versions before 0.3.0", cvss_v2: "AV:N/AC:L/Au:S/C:P/I:P/A:P", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", cwe_ids: [ "CWE-1035", "CWE-119", "CWE-937", ], date: "2023-08-02", description: "Vyper is a Pythonic Smart Contract Language for the EVM. 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 ", fixed_versions: [ "0.3.0", ], identifier: "CVE-2021-41121", identifiers: [ "CVE-2021-41121", "GHSA-xv8x-pr4h-73jv", ], not_impacted: "All versions starting from 0.3.0", package_slug: "pypi/vyper", pubdate: "2021-10-06", solution: "Upgrade to version 0.3.0 or above.", title: "Improper Restriction of Operations within the Bounds of a Memory Buffer", urls: [ "https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv", "https://github.com/vyperlang/vyper/pull/2447", "https://nvd.nist.gov/vuln/detail/CVE-2021-41121", "https://github.com/advisories/GHSA-xv8x-pr4h-73jv", ], uuid: "4ad8fdf1-1ca7-4faa-a122-2e1bed2f20dd", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*", cpe_name: [], versionEndExcluding: "0.3.0", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2021-41121", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { 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.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-119", }, ], }, ], }, references: { reference_data: [ { name: "https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv", refsource: "CONFIRM", tags: [ "Third Party Advisory", ], url: "https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv", }, { name: "https://github.com/vyperlang/vyper/pull/2447", refsource: "MISC", tags: [ "Patch", "Third Party Advisory", ], url: "https://github.com/vyperlang/vyper/pull/2447", }, ], }, }, impact: { baseMetricV2: { acInsufInfo: false, cvssV2: { accessComplexity: "LOW", accessVector: "NETWORK", authentication: "SINGLE", availabilityImpact: "PARTIAL", baseScore: 6.5, confidentialityImpact: "PARTIAL", integrityImpact: "PARTIAL", vectorString: "AV:N/AC:L/Au:S/C:P/I:P/A:P", version: "2.0", }, exploitabilityScore: 8, impactScore: 6.4, obtainAllPrivilege: false, obtainOtherPrivilege: false, obtainUserPrivilege: false, severity: "MEDIUM", userInteractionRequired: false, }, baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "HIGH", baseScore: 8.8, baseSeverity: "HIGH", confidentialityImpact: "HIGH", integrityImpact: "HIGH", privilegesRequired: "LOW", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", version: "3.1", }, exploitabilityScore: 2.8, impactScore: 5.9, }, }, lastModifiedDate: "2023-08-02T16:22Z", publishedDate: "2021-10-06T18:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.