VDB
KO
CRITICAL 9.6

GHSA-2fqw-7c6r-2cq6

Openshift Migration Advisor agent-API fails to validate JWT source_id claim, allowing cross-tenant data manipulation

Quick fix

GHSA-2fqw-7c6r-2cq6 — github.com/kubev2v/migration-planner: upgrade to the fixed version with the command below.

go get github.com/kubev2v/migration-planner@v0.13.5

Details

A flaw was found in migration-planner. The agent-API middleware processes JSON Web Tokens (JWTs) for authentication, but its UpdateSourceInventory and UpdateAgentStatus handlers fail to validate the source_id claim within these tokens against the requested source ID. This oversight allows an authenticated attacker with a valid agent token to manipulate data across different tenants, leading to a complete collapse of tenant isolation. This could result in unauthorized overwriting of victim inventory, planting of malicious credential URLs, or corruption of migration assessments.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/kubev2v/migration-planner
Introduced in: 0 Fixed in: 0.13.5
Fix go get github.com/kubev2v/migration-planner@v0.13.5

References