Insufficient Control Flow Management Affecting vyper package, versions [,0.4.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-VYPER-8743936
  • published23 Feb 2025
  • disclosed21 Feb 2025
  • creditcharles-cooper

Introduced: 21 Feb 2025

CVE-2025-27104  (opens in a new tab)
CWE-691  (opens in a new tab)

How to fix?

Upgrade vyper to version 0.4.1 or higher.

Overview

vyper is a Pythonic Smart Contract Language for the EVM.

Affected versions of this package are vulnerable to Insufficient Control Flow Management due to the evaluation of iterator expressions in the loop body that can consume side effects from the loop iterations. An attacker can manipulate the program's state and cause unexpected behavior by exploiting the side effects in the loop body.

CVSS Base Scores

version 4.0
version 3.1