Vulnerability Details : CVE-2019-18466
An issue was discovered in Podman in libpod before 1.6.0. It resolves a symlink in the host context during a copy operation from the container to the host, because an undesired glob operation occurs. An attacker could create a container image containing particular symlinks that, when copied by a victim user to the host filesystem, may overwrite existing files with others from the host.
Exploit prediction scoring system (EPSS) score for CVE-2019-18466
Probability of exploitation activity in the next 30 days: 0.13%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 48 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2019-18466
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:P |
8.6
|
4.9
|
NIST |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2019-18466
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-18466
-
https://github.com/containers/libpod/issues/3829
podman cp dereferences symlink in host context after filepath.Glob(srcPath) · Issue #3829 · containers/libpod · GitHubExploit;Third Party Advisory
-
https://github.com/containers/libpod/commit/5c09c4d2947a759724f9d5aef6bac04317e03f7e
Merge pull request #3942 from jwhonce/issue/3829 · containers/libpod@5c09c4d · GitHubPatch
-
https://bugzilla.redhat.com/show_bug.cgi?id=1744588
1744588 – (CVE-2019-18466) CVE-2019-18466 podman: resolving symlink in host filesystem leads to unexpected results of copy operationIssue Tracking;Third Party Advisory
-
https://github.com/containers/libpod/compare/v1.5.1...v1.6.0
Comparing v1.5.1...v1.6.0 · containers/libpod · GitHubPatch
-
https://access.redhat.com/errata/RHSA-2019:4269
RHSA-2019:4269 - Security Advisory - Red Hat Customer Portal
-
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00040.html
Products affected by CVE-2019-18466
- cpe:2.3:a:libpod_project:libpod:*:*:*:*:*:*:*:*