GHSA-jr8j-2jhp-m67v: Github.com/siderolabs/talos Nftables Binding To An Already Vulnerability

MODERATE
Published
Advisory Summary

GHSA-jr8j-2jhp-m67v is a MODERATE nftables binding to an already vulnerability (General Security Weakness) affecting Github.com/siderolabs/talos libraries in the Go ecosystem. The issue involves nftables binding to an already bound chain. Remediation is available by upgrading affected packages to version 1.2.0.

GHSA-jr8j-2jhp-m67v at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jr8j-2jhp-m67v
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/siderolabs/talos
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-jr8j-2jhp-m67v

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.2.0
Upgrade github.com/siderolabs/talos to 1.2.0
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-jr8j-2jhp-m67v, 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.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 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 An issue was discovered in net/netfilter/nf_tables_api.c in the Linux kernel. A denial of service can occur upon binding to an already bound chain. Affected by this vulnerability is the function nft_verdict_init of the file net/netfilter/nf_tables_api.c. The manipulation with an unknown input leads to a denial of service vulnerability. The program does not release or incorrectly releases a resource before it is made available for re-use. ### Patches The fix has been backported to [5.15.64](https://www.linuxkernelcves.com/cves/CVE-2022-39190) 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. ### Workarounds It's recommended to upgrade ### References - https://www.sesin.at/2022/09/02/cve-2022-39190-linux-kernel-up-to-5-19-5-nf_tables_api-c-nft_verdict_init-denial-of-service/ - https://nvd.nist.gov/vuln/detail/CVE-2022-39190 ### For more information - Email us at [security@siderolabs.com](mailto:security@siderolabs.com)

GHSA-jr8j-2jhp-m67v Affected Github.com/siderolabs/talos Versions

1 component(s)
Fixed Versions:
1.2.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/siderolabs/talos
Go
< 1.2.0
1.2.0

References

Frequently Asked Questions

What is GHSA-jr8j-2jhp-m67v?
GHSA-jr8j-2jhp-m67v is a security vulnerability in Github.com/siderolabs/talos involving nftables binding to an already bound chain under General Security Weakness.
Which Github.com/siderolabs/talos versions are affected?
Affected versions include releases prior to 1.2.0 across affected packages: github.com/siderolabs/talos.
What version fixes GHSA-jr8j-2jhp-m67v?
Upgrading to 1.2.0 (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.2.0. Upgrade your dependency to 1.2.0 or later.
What CWE is associated with GHSA-jr8j-2jhp-m67v?
GHSA-jr8j-2jhp-m67v is classified under General Security Weakness.
How can I check Go dependencies for GHSA-jr8j-2jhp-m67v?
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-jr8j-2jhp-m67v",
  "modified" : "2022-09-16T17:17:56Z",
  "published" : "2022-09-16T17:17:56Z",
  "aliases" : [ ],
  "summary" : "nftables binding to an already bound chain",
  "details" : "### Impact\nAn issue was discovered in net/netfilter/nf_tables_api.c in the Linux kernel. A denial of service can occur upon binding to an already bound chain.\n\nAffected by this vulnerability is the function nft_verdict_init of the file net/netfilter/nf_tables_api.c. The manipulation with an unknown input leads to a denial of service vulnerability. The program does not release or incorrectly releases a resource before it is made available for re-use.\n\n### Patches\nThe fix has been backported to [5.15.64](https://www.linuxkernelcves.com/cves/CVE-2022-39190) 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\n### Workarounds\nIt's recommended to upgrade\n\n### References\n- https://www.sesin.at/2022/09/02/cve-2022-39190-linux-kernel-up-to-5-19-5-nf_tables_api-c-nft_verdict_init-denial-of-service/\n- https://nvd.nist.gov/vuln/detail/CVE-2022-39190\n\n### For more information\n- Email us at [security@siderolabs.com](mailto:security@siderolabs.com)",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/siderolabs/talos"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/siderolabs/talos/security/advisories/GHSA-jr8j-2jhp-m67v"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/siderolabs/talos"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-16T17:17:56Z",
    "nvd_published_at" : null
  }
}