CVE-2026-50163
Beschrijving NL
oras-go is een Go-bibliotheek voor het beheren van OCI-artefacten. Voorafgaand aan 2.6.2 valideert ensureLinkPath in content/file/utils.go: 262-275 een hardlink-doel ten opzichte van de extractbasis, maar retourneert het onopgeloste doel, waardoor os.Link ("victim.secret", "/payload.tar.gz/evil_cwd_link") header.Linkname oplost tegen de huidige werkmap van het proces voor een Typeflag = TypeLink-ingang zoals Name = payload.tar.gz/evil_cwd_link en Linkname = "victim.secret" met io.deis.oras.content.unpack: "true", die bestanden zoals als .env, .git/config, .aws/credentials en ~/.ssh/config. Dit probleem is opgelost in versie 2.6.2.
Origineel (Engels) tonen
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. This issue is fixed in version 2.6.2.