GitHub Advisoryadvisory · Go
GHSA-mc76-5925-c5p6 Link Following in github.com/containers/common
MEDIUM
Official page ↗
- Aliases
- CVE-2024-9341
- Ecosystem
- Go
- Packages
- github.com/containers/common
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
- Weaknesses
- CWE-59
- Reviewed
- 2024-10-01
Affected packages
• Go github.com/containers/common: < 0.60.4 → fixed in 0.60.4
Description
A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.
Related
Alias · CVE (1)
- CVE-2024-9341 A flaw was found in Go. vulnerability
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9341 advisory
- https://github.com/containers/common/commit/e7db06585c32e1a782c1d9aa3b71ccd708f5e23f web
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L349 web
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L169 web
- https://github.com/containers/common package
- https://bugzilla.redhat.com/show_bug.cgi?id=2315691 web
- https://access.redhat.com/security/cve/CVE-2024-9341 web
- https://access.redhat.com/errata/RHSA-2024:9459 web
- https://access.redhat.com/errata/RHSA-2024:9454 web
- https://access.redhat.com/errata/RHSA-2024:8846 web
- https://access.redhat.com/errata/RHSA-2024:8694 web
- https://access.redhat.com/errata/RHSA-2024:8690 web
- https://access.redhat.com/errata/RHSA-2024:8428 web
- https://access.redhat.com/errata/RHSA-2024:8263 web
- https://access.redhat.com/errata/RHSA-2024:8238 web
- https://access.redhat.com/errata/RHSA-2024:8112 web
- https://access.redhat.com/errata/RHSA-2024:8039 web
- https://access.redhat.com/errata/RHSA-2024:7925 web
- https://access.redhat.com/errata/RHSA-2024:10818 web
- https://access.redhat.com/errata/RHSA-2024:10147 web