GHSA-34vw-m4rh-r36p: Github.com/talos systems/talos Talos Vulnerable Dependency Due To Vulnerability
HIGHGHSA-34vw-m4rh-r36p is a HIGH (CVSS 7.0) talos vulnerable dependency due to vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Github.com/talos systems/talos libraries in the Go ecosystem. The issue involves talos vulnerable dependency due to race condition in linux kernel's ip framework xfrm. Remediation is available by upgrading affected packages to version 1.2.0.
GHSA-34vw-m4rh-r36p at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-34vw-m4rh-r36p
To remediate this vulnerability, upgrade all affected Github.com/talos systems/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.
Upgrade github.com/talos-systems/talos to 1.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/talos-systems/talos
How to Check if You Are Affected
To determine whether your application is affected by GHSA-34vw-m4rh-r36p, inspect your project dependencies for Github.com/talos systems/talos:
inspect dependencies for github.com/talos-systems/talos
Analyze the terminal output to locate any version of Github.com/talos systems/talos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.0), 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 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Github.com/talos systems/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
GHSA-34vw-m4rh-r36p Affected Github.com/talos systems/talos Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/talos-systems/talos
|
Go |
< 1.2.0
|
1.2.0
|
References
Frequently Asked Questions
What is GHSA-34vw-m4rh-r36p?
Which Github.com/talos systems/talos versions are affected?
What version fixes GHSA-34vw-m4rh-r36p?
Is github.com/talos-systems/talos affected?
What is the CVSS score of GHSA-34vw-m4rh-r36p?
What CWE is associated with GHSA-34vw-m4rh-r36p?
How can I check Go dependencies for GHSA-34vw-m4rh-r36p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-34vw-m4rh-r36p",
"modified" : "2022-09-16T17:17:37Z",
"published" : "2022-09-16T17:17:37Z",
"aliases" : [ ],
"summary" : "Talos vulnerable dependency due to race condition in Linux kernel's IP framework XFRM",
"details" : "### Impact\nA race condition was found in the Linux kernel's IP framework for transforming packets (XFRM subsystem) when multiple calls to xfrm_probe_algs occurred simultaneously. This flaw could allow a local attacker to potentially trigger an out-of-bounds write or leak kernel heap memory by performing an out-of-bounds read and copying it into a socket.\n\n### Patches\nThe fix has been backported to [5.15.64](https://www.linuxkernelcves.com/cves/CVE-2022-3028) version of the upstream Linux kernel (5.15 is the upstream Kernel long term version Talos ships with). Talos >= v1.2.0 is shipped with Linux Kernel 5.15.64 fixing the above issue.\n\nKubernetes workloads running in Talos are not affected since user namespaces are disabled in Talos kernel config. So an unprivileged user cannot obtain CAP_NET_ADMIN by unsharing. However untrusted workloads that run with privileged: true or having NET_ADMIN capability poses a risk.\n\n### Workarounds\nAudit kubernetes workloads running in the cluster with privileged: true set or having NET_ADMIN capability and assess the threat vector.\n\n### References\n- https://nvd.nist.gov/vuln/detail/CVE-2022-3028\n- https://access.redhat.com/security/cve/CVE-2022-3028\n\n### For more information\n- Email us at [security@siderolabs.com](mailto:security@siderolabs.com)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/talos-systems/talos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/siderolabs/talos/security/advisories/GHSA-34vw-m4rh-r36p"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/siderolabs/talos"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362", "CWE-787" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-16T17:17:37Z",
"nvd_published_at" : null
}
}