containers / image

Work with containers' images
Apache License 2.0
843 stars 365 forks source link

Fix CVE-2024-3727 #2403

Closed mtrmac closed 1 month ago

mtrmac commented 1 month ago

Digest values used throughout this library were not always validated. That allowed attackers to trigger, when pulling untrusted images, unexpected authenticated registry accesses on behalf of a victim user.

In less common uses of this library (using other transports or not using the containers/image/v5/copy.Image API), an attacker could also trigger local path traversals or crashes.

mheon commented 1 month ago

LGTM