{"id":"UBUNTU-CVE-2022-48303","details":"GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs in from_header in list.c via a V7 archive in which mtime has approximately 11 whitespace characters.","modified":"2026-02-04T03:50:09.385451Z","published":"2023-01-30T04:15:00Z","related":["USN-5900-1","USN-5900-2"],"upstream":["CVE-2022-48303"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-48303"},{"type":"REPORT","url":"https://savannah.gnu.org/bugs/?62387"},{"type":"REPORT","url":"https://savannah.gnu.org/patch/?10307"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5900-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5900-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-48303"}],"affected":[{"package":{"name":"tar","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tar@1.27.1-1ubuntu0.1+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-1ubuntu0.1+esm3"}]}],"versions":["1.26+dfsg-8","1.27-3","1.27-4","1.27.1-1","1.27.1-1ubuntu0.1","1.27.1-1ubuntu0.1+esm1","1.27.1-1ubuntu0.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"tar","binary_version":"1.27.1-1ubuntu0.1+esm3"},{"binary_name":"tar-scripts","binary_version":"1.27.1-1ubuntu0.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48303.json"}},{"package":{"name":"tar","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tar@1.28-2.1ubuntu0.2+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.28-2.1ubuntu0.2+esm2"}]}],"versions":["1.27.1-2","1.28-2ubuntu1","1.28-2.1","1.28-2.1ubuntu0.1","1.28-2.1ubuntu0.2","1.28-2.1ubuntu0.2+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"tar","binary_version":"1.28-2.1ubuntu0.2+esm2"},{"binary_name":"tar-scripts","binary_version":"1.28-2.1ubuntu0.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48303.json"}},{"package":{"name":"tar","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tar@1.29b-2ubuntu0.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-2ubuntu0.4"}]}],"versions":["1.29b-2","1.29b-2ubuntu0.1","1.29b-2ubuntu0.2","1.29b-2ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"tar","binary_version":"1.29b-2ubuntu0.4"},{"binary_name":"tar-scripts","binary_version":"1.29b-2ubuntu0.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48303.json"}},{"package":{"name":"tar","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tar@1.30+dfsg-7ubuntu0.20.04.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-7ubuntu0.20.04.3"}]}],"versions":["1.30+dfsg-6","1.30+dfsg-7","1.30+dfsg-7ubuntu0.20.04.1","1.30+dfsg-7ubuntu0.20.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"tar","binary_version":"1.30+dfsg-7ubuntu0.20.04.3"},{"binary_name":"tar-scripts","binary_version":"1.30+dfsg-7ubuntu0.20.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48303.json"}},{"package":{"name":"tar","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tar@1.34+dfsg-1ubuntu0.1.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34+dfsg-1ubuntu0.1.22.04.1"}]}],"versions":["1.34+dfsg-1build1","1.34+dfsg-1build2","1.34+dfsg-1build3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"tar","binary_version":"1.34+dfsg-1ubuntu0.1.22.04.1"},{"binary_name":"tar-scripts","binary_version":"1.34+dfsg-1ubuntu0.1.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48303.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}