CVE-2016-5418
libarchive: Archive Entry with type 1 (hardlink), but has a non-zero data size file overwrite
Overview
Description
The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote attackers to write to arbitrary files via a crafted archive file.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-19, CWE-20
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 14 fixes
Oracle Linux 1 release · 1 package
fixed 1
bsdcpio
| Release | Package | Fixed in |
|---|---|---|
| 7 | bsdcpio +3 | 3.1.2-10.el7_2 |
Red Hat 1 release · 4 packages
fixed 5
heapster
atomic-openshift
bsdcpio
atomic-openshift-utils
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | heapster | 0:1.1.0-1.beta2.el7.1 | RHSA-2016:1853 |
| 7 | atomic-openshift +9 | 0:3.1.1.7-1.git.0.65f396b.el7aos | RHSA-2016:1852 |
| 7 | bsdcpio +3 | 0:3.1.2-10.el7_2 | RHSA-2016:1844 |
| 7 | atomic-openshift +10 | 0:3.2.1.15-1.git.0.d84be7f.el7 | RHSA-2016:1853 |
| 7 | atomic-openshift-utils +6 | 0:3.2.28-1.git.0.5a85fc5.el7 | RHSA-2016:1853 |
debian 4 releases · 1 package
fixed 4
libarchive
| Release | Package | Fixed in |
|---|---|---|
| 11 | libarchive | 3.2.1-4 |
| 12 | libarchive | 3.2.1-4 |
| 13 | libarchive | 3.2.1-4 |
| 14 | libarchive | 3.2.1-4 |
echo 1 release · 1 package
fixed 1
libarchive
| Release | Package | Fixed in |
|---|---|---|
| libarchive | 3.2.1-4 |
openSUSE 1 release · 1 package
fixed 1
bsdtar
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | bsdtar +3 | 3.2.2-2.1 | openSUSE-SU-2024:10127-1 |
root.io debian 2 releases · 1 package
fixed 2
rootio-libarchive
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-libarchive | 3.2.1-4 |
| 12 | rootio-libarchive | 3.2.1-4 |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1844.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1850.html
- seclists.org http://seclists.org/oss-sec/2016/q3/255
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/08/09/2
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- www.securityfocus.com http://www.securityfocus.com/bid/93165
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1852
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:1853
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5418
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1362601
Show all 19 references
- gist.github.com https://gist.github.com/anonymous/e48209b03f1dd9625a992717e7b89c4f
- github.com https://github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9
- github.com https://github.com/libarchive/libarchive/issues/746
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-5418.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-1850.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5418
- security.gentoo.org https://security.gentoo.org/glsa/201701-03
- ubuntu.com https://ubuntu.com/security/notices/USN-3225-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-5418
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.