GitHub Advisoryadvisory · Go

GHSA-mc76-5925-c5p6 Link Following in github.com/containers/common

MEDIUM Published 2024-10-01 Modified 2024-12-11 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)

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References