SCA: security update for vyper (GHSA-5824-cm3x-3c38)

critical Tenable Cloud Security Plugin ID 410672

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). In versions 0.2.15,
0.2.16 and 0.3.0, named re-entrancy locks are allocated incorrectly. Each function using a named re-
entrancy lock gets a unique lock regardless of the key, allowing cross-function re-entrancy in contracts
compiled with the susceptible versions. A specific set of conditions is required to result in misbehavior
of affected contracts, specifically: a `.vy` contract compiled with `vyper` versions `0.2.15`, `0.2.16`,
or `0.3.0`; a primary function that utilizes the `@nonreentrant` decorator with a specific `key` and does
not strictly follow the check-effects-interaction pattern (i.e. contains an external call to an untrusted
party before storage updates); and a secondary function that utilizes the same `key` and would be affected
by the improper state caused by the primary function. Version 0.3.1 contains a fix for this issue.
(CVE-2023-39363)

See Also

https://github.com/advisories/GHSA-5824-cm3x-3c38

Plugin Details

Severity: Critical

ID: 410672

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.2

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2023-39363

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.1

Threat Score: 9.1

Threat Vector: CVSS:4.0/E:A

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/9/2023

Vulnerability Publication Date: 8/7/2023

Reference Information

CVE: CVE-2023-39363

cwe: CWE-863