Skip to content
Heist/ feed
Back to feed
High

golang-github-containers-common — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-9341

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.

Products
golang-github-containers-common
Affected versions
0.38.16+ds1-1ubuntu1, 0.44.3+ds1-2ubuntu1, 0.44.4+ds1-1, 0.50.1+ds1-4, 0.56.0+ds1-4, 0.57.0+ds1-2, 0.57.2+ds1-2, 0.57.4+ds1-2, 0.57.4+ds1-2ubuntu0.1, 0.57.4+ds1-2ubuntu0.2, 0.62.2+ds1-2, 0.66.0+ds2-3, 0.67.1-2, 0.67.1-3
Fixed versions
Not specified
CVEs
CVE-2024-9341
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-9341

core-osv · Original source

Published 1 Oct 2024, 19:15 UTC

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.

osv:UBUNTU-CVE-2024-9341

golang-github-containers-common

Fixed versions: Not specified

golang-github-containers-common

Fixed versions: Not specified

golang-github-containers-common

Fixed versions: Not specified

golang-github-containers-common

Fixed versions: Not specified

golang-github-containers-common

Fixed versions: Not specified

Complete source record
{
  "id": "9ec1e7ac03947506604af3087793b2c9b039997ebe99e9d2fcfd958aa2cae007",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-9341",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-9341",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2024-9341",
    "products": [
      {
        "name": {
          "value": "golang-github-containers-common",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.38.16+ds1-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.44.3+ds1-2ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.44.4+ds1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-common",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.50.1+ds1-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.56.0+ds1-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.57.0+ds1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.57.2+ds1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.57.4+ds1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.57.4+ds1-2ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.57.4+ds1-2ubuntu0.2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-common",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.62.2+ds1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-common",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.66.0+ds2-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.67.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.67.1-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-common",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.62.2+ds1-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.66.0+ds2-3",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-9341",
      "aliases": [
        "UBUNTU-CVE-2024-9341"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-common",
            "purl": "pkg:deb/ubuntu/golang-github-containers-common?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.38.16+ds1-1ubuntu1",
            "0.44.3+ds1-2ubuntu1",
            "0.44.4+ds1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9341.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-common",
                "binary_version": "0.44.4+ds1-1"
              },
              {
                "binary_name": "golang-github-containers-common-dev",
                "binary_version": "0.44.4+ds1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-common",
            "purl": "pkg:deb/ubuntu/golang-github-containers-common?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.50.1+ds1-4",
            "0.56.0+ds1-4",
            "0.57.0+ds1-2",
            "0.57.2+ds1-2",
            "0.57.4+ds1-2",
            "0.57.4+ds1-2ubuntu0.1",
            "0.57.4+ds1-2ubuntu0.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9341.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-common",
                "binary_version": "0.57.4+ds1-2ubuntu0.2"
              },
              {
                "binary_name": "golang-github-containers-common-dev",
                "binary_version": "0.57.4+ds1-2ubuntu0.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-common",
            "purl": "pkg:deb/ubuntu/golang-github-containers-common?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.62.2+ds1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9341.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-common",
                "binary_version": "0.62.2+ds1-2"
              },
              {
                "binary_name": "golang-github-containers-common-dev",
                "binary_version": "0.62.2+ds1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-common",
            "purl": "pkg:deb/ubuntu/golang-github-containers-common?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.66.0+ds2-3",
            "0.67.1-2",
            "0.67.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9341.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-common",
                "binary_version": "0.67.1-3"
              },
              {
                "binary_name": "golang-github-containers-common-dev",
                "binary_version": "0.67.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-common",
            "purl": "pkg:deb/ubuntu/golang-github-containers-common?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.62.2+ds1-2",
            "0.66.0+ds2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9341.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-common",
                "binary_version": "0.66.0+ds2-3"
              },
              {
                "binary_name": "golang-github-containers-common-dev",
                "binary_version": "0.66.0+ds2-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:47.391638293Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-9341"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-9341",
        "https://www.cve.org/CVERecord?id=CVE-2024-9341",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2315691",
        "https://access.redhat.com/security/cve/CVE-2024-9341",
        "https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L169",
        "https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L349"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-9341",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 356272,
  "published_at": "2024-10-01T19:15:00+00:00"
}