GHSA-g5p6-327m-3fxx: Github.com/siderolabs/talos Talos Linux Ships Runc Vulnerable Vulnerability

HIGH
CVSS 8.6
Published
Advisory Summary

GHSA-g5p6-327m-3fxx is a HIGH (CVSS 8.6) talos linux ships runc vulnerable vulnerability (General Security Weakness) affecting Github.com/siderolabs/talos libraries in the Go ecosystem. The issue involves talos linux ships runc vulnerable to the escape to the host attack. Remediation is available by upgrading affected packages to version 1.6.4, 1.5.6.

GHSA-g5p6-327m-3fxx at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-g5p6-327m-3fxx
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification General Security Weakness
Affected Product Github.com/siderolabs/talos
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-g5p6-327m-3fxx

To remediate this vulnerability, upgrade all affected Github.com/siderolabs/talos dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/siderolabs/talos fixed: 1.6.4
Upgrade github.com/siderolabs/talos to 1.6.4
github.com/siderolabs/talos fixed: 1.5.6
Upgrade github.com/siderolabs/talos to 1.5.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/siderolabs/talos

How to Check if You Are Affected

To determine whether your application is affected by GHSA-g5p6-327m-3fxx, inspect your project dependencies for Github.com/siderolabs/talos:

inspect dependencies for github.com/siderolabs/talos

Analyze the terminal output to locate any version of Github.com/siderolabs/talos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Github.com/siderolabs/talos, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Snyk has discovered a vulnerability in all versions of runc <=1.1.11, as used by the Docker engine, along with other containerization technologies such as Kubernetes. Exploitation of this issue can result in container escape to the underlying host OS, either through executing a malicious image or building an image using a malicious Dockerfile or upstream image (i.e., when using FROM). This issue has been assigned the CVE-2024-21626. ### Patches `runc` runtime was updated to 1.1.12 in Talos v1.5.6 and v1.6.4. ### Workarounds Inspect the workloads running on the cluster to make sure they are not trying to exploit the vulnerability. ### References * [CVE-2024-21626](https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv) * [Vulnerability: runc process.cwd and leaked fds container breakout](https://snyk.io/blog/cve-2024-21626-runc-process-cwd-container-breakout/)

GHSA-g5p6-327m-3fxx Affected Github.com/siderolabs/talos Versions

2 component(s)
Fixed Versions:
1.6.41.5.6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/siderolabs/talos
Go
≥ 1.6.0
< 1.6.4
1.6.4
github.com/siderolabs/talos
Go
< 1.5.6
1.5.6

References

Frequently Asked Questions

What is GHSA-g5p6-327m-3fxx?
GHSA-g5p6-327m-3fxx is a security vulnerability in Github.com/siderolabs/talos involving Talos Linux ships runc vulnerable to the escape to the host attack under General Security Weakness.
Which Github.com/siderolabs/talos versions are affected?
Affected versions include releases prior to 1.6.4, 1.5.6 across affected packages: github.com/siderolabs/talos.
What version fixes GHSA-g5p6-327m-3fxx?
Upgrading to 1.6.4, 1.5.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/siderolabs/talos affected?
Yes, github.com/siderolabs/talos is affected in releases prior to 1.6.4, 1.5.6. Upgrade your dependency to 1.6.4, 1.5.6 or later.
What is the CVSS score of GHSA-g5p6-327m-3fxx?
GHSA-g5p6-327m-3fxx has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with GHSA-g5p6-327m-3fxx?
GHSA-g5p6-327m-3fxx is classified under General Security Weakness.
How can I check Go dependencies for GHSA-g5p6-327m-3fxx?
Run the dependency tree command: 'inspect dependencies for github.com/siderolabs/talos'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g5p6-327m-3fxx",
  "modified" : "2024-02-02T18:11:06Z",
  "published" : "2024-02-02T18:11:06Z",
  "aliases" : [ ],
  "summary" : "Talos Linux ships runc vulnerable to the escape to the host attack",
  "details" : "### Impact\n\nSnyk has discovered a vulnerability in all versions of runc <=1.1.11, as used by the Docker engine, along with other containerization technologies such as Kubernetes. Exploitation of this issue can result in container escape to the underlying host OS, either through executing a malicious image or building an image using a malicious Dockerfile or upstream image (i.e., when using FROM). This issue has been assigned the CVE-2024-21626.\n\n### Patches\n\n`runc` runtime was updated to 1.1.12 in Talos v1.5.6 and v1.6.4.\n\n### Workarounds\n\nInspect the workloads running on the cluster to make sure they are not trying to exploit the vulnerability.\n\n### References\n\n* [CVE-2024-21626](https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv)\n* [Vulnerability: runc process.cwd and leaked fds container breakout](https://snyk.io/blog/cve-2024-21626-runc-process-cwd-container-breakout/)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/siderolabs/talos"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "fixed" : "1.6.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/siderolabs/talos"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/siderolabs/talos/security/advisories/GHSA-g5p6-327m-3fxx"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/siderolabs/talos"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-02T18:11:06Z",
    "nvd_published_at" : null
  }
}