{"id":"UBUNTU-CVE-2018-20990","details":"An issue was discovered in the tar crate before 0.4.16 for Rust. Arbitrary file overwrite can occur via a symlink or hardlink in a TAR archive.","modified":"2026-05-20T16:03:38.483011949Z","published":"2019-08-26T13:15:00Z","upstream":["CVE-2018-20990"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20990"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2018-0002.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20990"}],"affected":[{"package":{"name":"rust-tar","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.26-1","0.4.26-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar+default-dev","binary_version":"0.4.26-1ubuntu0.1"},{"binary_name":"librust-tar-dev","binary_version":"0.4.26-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20990.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.26-1","0.4.37-1","0.4.37-3","0.4.37-3ubuntu0.1~esm1","0.4.37-3ubuntu0.1","0.4.37-3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar+default-dev","binary_version":"0.4.37-3ubuntu0.1+esm1"},{"binary_name":"librust-tar-dev","binary_version":"0.4.37-3ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20990.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.38-2","0.4.40-1","0.4.40-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar-dev","binary_version":"0.4.40-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20990.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.43-4","0.4.43-4ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-tar-dev","binary_version":"0.4.43-4ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20990.json"}},{"package":{"name":"rust-tar","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-tar?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.43-4","0.4.44-1","0.4.45-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.45-1","binary_name":"librust-tar-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20990.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}