Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:46639
HistoryApr 26, 2024 - 10:11 a.m.

Double Evaluation

2024-04-2610:11:39
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
5
double evaluation
vyper
build_ir function
sqrt builtin
side-effects

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

vyper is vulnerable to Double Evaluation. The vulnerability is due to the build_IR function of the sqrt builtin not caching the argument to the stack, allowing for multiple evaluations when the argument has side-effects.

CPENameOperatorVersion
vyperle0.3.10
vyperle0.3.10

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Related for VERACODE:46639