GitHub Advisoryadvisory · Go
GHSA-r34v-gqmw-qvgj Podman Symlink Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2019-18466
- Ecosystem
- Go
- Packages
- github.com/containers/podman/v4
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-59
- Reviewed
- 2023-07-18
Affected packages
• Go github.com/containers/podman/v4: < 1.6.0 → fixed in 1.6.0
Description
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.
Related
Alias · CVE (1)
- CVE-2019-18466 An issue was discovered in Podman in libpod before 1.6.0. vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18466 advisory
- https://github.com/containers/libpod/issues/3829 web
- https://github.com/containers/libpod/commit/5c09c4d2947a759724f9d5aef6bac04317e03f7e web
- https://access.redhat.com/errata/RHSA-2019:4269 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1744588 web
- https://github.com/containers/libpod package
- https://github.com/containers/libpod/compare/v1.5.1...v1.6.0 web