{"id":"UBUNTU-CVE-2025-8959","details":"HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the designated directory boundaries. This vulnerability, identified as CVE-2025-8959, is fixed in go-getter 1.7.9.","modified":"2026-01-20T18:46:39.272858Z","published":"2025-08-15T21:15:00Z","upstream":["CVE-2025-8959"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-8959"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-8959"},{"type":"REPORT","url":"https://discuss.hashicorp.com/t/hcsec-2025-23-hashicorp-go-getter-vulnerable-to-arbitrary-read-through-symlink-attack/76242"}],"affected":[{"package":{"name":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter@0.0~git20160316.0.575ec4e-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20160316.0.575ec4e-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-hashicorp-go-getter-dev","binary_version":"0.0~git20160316.0.575ec4e-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8959.json"}},{"package":{"name":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter@1.4.1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20160316.0.575ec4e-1","1.4.0-1","1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-hashicorp-go-getter-dev","binary_version":"1.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8959.json"}},{"package":{"name":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter@1.4.1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-hashicorp-go-getter-dev","binary_version":"1.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8959.json"}},{"package":{"name":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter@1.4.1-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-hashicorp-go-getter-dev","binary_version":"1.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8959.json"}},{"package":{"name":"golang-github-hashicorp-go-getter","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-hashicorp-go-getter@1.4.1-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-hashicorp-go-getter-dev","binary_version":"1.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8959.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}