Vulnerability identifier: #VU70623
Vulnerability risk: Medium
CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-59
Exploitation vector: Network
Exploit availability: No
Vendor: Deislabs
Description
The vulnerability allows a remote attacker to overwrite files on the system.
The vulnerability exists due to insecure hardlink following when extracting files from an archive. A remote attacker can trick the victim into downloading a gzipped tarballs that will be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Oras: 0.4.0 - 0.8.1
External links
http://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e
http://github.com/deislabs/oras/releases/tag/v0.9.0
http://pkg.go.dev/github.com/deislabs/oras/pkg/oras
http://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.