PyPi: Vyper

CVE-2021-41121

Safety vulnerability ID: 42056

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 06, 2021 Updated at May 16, 2024
Scan your Python projects for vulnerabilities →

Advisory

Vyper version 0.3.0 includes a fix for CVE-2021-41121: 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.
https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv
https://github.com/vyperlang/vyper/pull/2447

Affected package

vyper

Latest version: 0.3.10

Vyper: the Pythonic Programming Language for the EVM

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-41121.


CONFIRM:https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv: https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv
MISC:https://github.com/vyperlang/vyper/pull/2447: https://github.com/vyperlang/vyper/pull/2447

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.8

CVSS v3 Details

HIGH 8.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 6.5
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
SINGLE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
PARTIAL