VDB
KO
CRITICAL 9.6

GHSA-v5m8-5455-qw2x

Openshift Migration Advisor: Broken access control in migration-planner image-url endpoint exposes other users' OVA images and agent JWTs

Quick fix

GHSA-v5m8-5455-qw2x — 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. An authenticated attacker could exploit an improper access control vulnerability in the `/api/v1/sources/{id}/image-url` endpoint. This flaw allows the attacker to bypass an ownership check and obtain presigned S3 URLs for Open Virtual Appliance (OVA) images belonging to other users. Consequently, the attacker can download OVA images containing sensitive information, such as long-lived agent JSON Web Tokens (JWTs) and source configurations, potentially leading to unauthorized access and modification of the victim's source.

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