Security Resilience

CVE-2023-32059

Vyperlang Vyper ≤ 0.3.8

Public PoC
Published
11 May 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0073 55th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-32059 is a high-severity Function Call With Incorrect Order of Arguments (CWE-683) vulnerability in Vyperlang Vyper. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left,…

more

but left-to-right. If the types are incompatible, typechecking is bypassed. The ability to pass kwargs to internal functions is an undocumented feature that is not well known about. The issue is patched in version 0.3.8.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-32649Same product: Vyperlang Vyper
CVE-2023-32058Same product: Vyperlang Vyper
CVE-2024-32647Same product: Vyperlang Vyper
CVE-2023-37902Same product: Vyperlang Vyper
CVE-2023-46247Same product: Vyperlang Vyper
CVE-2024-32481Same product: Vyperlang Vyper
CVE-2024-24563Same product: Vyperlang Vyper
CVE-2023-42443Same product: Vyperlang Vyper
CVE-2023-31146Same product: Vyperlang Vyper
CVE-2024-24561Same product: Vyperlang Vyper

Affected Assets

vyperlang
vyper
≤ 0.3.8

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices (code review, static analysis, compiler checks) directly catch argument-order errors during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect argument-order defects, yet testing coverage is rarely exhaustive.

prevents

Secure coding standards can mandate argument-order checks and static analysis, but do not guarantee elimination of all ordering mistakes.

finds

A.8.30 contracts for secure development practices including testing (items d, f, g referencing 8.29), so the supplier's SAST/DAST programme is required and can detect some CWE-683 instances — but A.8.30 itself does not run tests, and SAST misses instances in dynamically typed code, variadic functions, and across supplier boundaries the contract does not reach.

References