CVE-2019-14866

In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

History

04 Jun 2023, 22:15

Type Values Removed Values Added
CWE CWE-20 NVD-CWE-Other
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html -

12 Feb 2023, 23:36

Type Values Removed Values Added
Summary It was discovered cpio does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system. In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.
CWE NVD-CWE-Other CWE-20
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2022:0073', 'name': 'https://access.redhat.com/errata/RHSA-2022:0073', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2021:1582', 'name': 'https://access.redhat.com/errata/RHSA-2021:1582', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=1765511', 'name': 'https://bugzilla.redhat.com/show_bug.cgi?id=1765511', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2019-14866', 'name': 'https://access.redhat.com/security/cve/CVE-2019-14866', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2020:3908', 'name': 'https://access.redhat.com/errata/RHSA-2020:3908', 'tags': [], 'refsource': 'MISC'}

02 Feb 2023, 21:18

Type Values Removed Values Added
References
  • (MISC) https://access.redhat.com/errata/RHSA-2022:0073 -
  • (MISC) https://access.redhat.com/errata/RHSA-2021:1582 -
  • (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1765511 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2019-14866 -
  • (MISC) https://access.redhat.com/errata/RHSA-2020:3908 -
Summary In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system. It was discovered cpio does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

Information

Published : 2020-01-07 17:15

Updated : 2023-12-10 13:13


NVD link : CVE-2019-14866

Mitre link : CVE-2019-14866

CVE.ORG link : CVE-2019-14866


JSON object : View

Products Affected

redhat

  • enterprise_linux

gnu

  • cpio
CWE
NVD-CWE-Other CWE-20

Improper Input Validation