CVE-2019-14866
"Coreutils Cpio TAR Archive Path Traversal Vulnerability"
Description
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.
INFO
Published Date :
Jan. 7, 2020, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 4:27 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.3
Public PoC/Exploit Available at Github
CVE-2019-14866 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-14866
.
URL | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 | Exploit Issue Tracking Mitigation Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html | |
https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html | Mailing List Patch Third Party Advisory |
https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html | Exploit Mailing List Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 | Exploit Issue Tracking Mitigation Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html | |
https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html | Mailing List Patch Third Party Advisory |
https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html | Exploit Mailing List Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
asp-net-core csharp docker dockerfile javascript react webapi docker-compose
C# Dockerfile HTML JavaScript CSS
Map Vulnerabilities into Different Layers of the Container Image
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-14866
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-14866
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html Added Reference https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html Added Reference https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jun. 04, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Changed Description 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. Removed Reference https://access.redhat.com/errata/RHSA-2020:3908 [No Types Assigned] Removed Reference https://access.redhat.com/errata/RHSA-2021:1582 [No Types Assigned] Removed Reference https://access.redhat.com/errata/RHSA-2022:0073 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2019-14866 [No Types Assigned] Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1765511 [No Types Assigned] Added CWE Red Hat, Inc. CWE-20 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed Description 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. Added Reference https://access.redhat.com/errata/RHSA-2020:3908 [No Types Assigned] Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1765511 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2021:1582 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2019-14866 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2022:0073 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-20 Removed CWE Reason CWE-20 / Assessment performed prior to CVMAP efforts -
Initial Analysis by [email protected]
Jan. 10, 2020
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866 Exploit, Issue Tracking, Mitigation, Patch, Third Party Advisory Changed Reference Type https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html No Types Assigned https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html Mailing List, Patch, Third Party Advisory Changed Reference Type https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html No Types Assigned https://lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html Exploit, Mailing List, Third Party Advisory Added CWE NIST NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:* versions up to (excluding) 2.13 Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-14866
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-14866
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.18779
percentile