Always-Incorrect Control Flow Implementation Affecting tough package, versions <0.20.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (16th 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-RUST-TOUGH-9667373
  • published6 Apr 2025
  • disclosed28 Mar 2025
  • creditJussi Kukkonen, AdamKorcz

Introduced: 28 Mar 2025

NewCVE-2025-2886  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade tough to version 0.20.0 or higher.

Overview

tough is an Update Framework (TUF) repository client

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation in the delegation termination logic. An attacker can manipulate the content fetched by clients by providing unauthorized data from a lower-priority delegation that should have been ignored.

CVSS Base Scores

version 4.0
version 3.1