GHSA-jhjp-4c2q-xmx4: Github.com/falcosecurity/plugins/plugins/k8saudit aks K8saudit Shipped Rules Do Not Vulnerability

MODERATE
CVSS 4.3
CWE-693
Published
Advisory Summary

GHSA-jhjp-4c2q-xmx4 is a MODERATE (CVSS 4.3) k8saudit shipped rules do not vulnerability (CWE-693: Protection Mechanism Failure) affecting Github.com/falcosecurity/plugins/plugins/k8saudit aks libraries in the Go ecosystem. The issue involves k8saudit shipped rules do not detect privileged/sensitive settings on init or ephemeral containers. Remediation is available by upgrading affected packages to version 0.6.0, 0.18.0, 0.12.0, 0.9.0.

GHSA-jhjp-4c2q-xmx4 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jhjp-4c2q-xmx4
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-693: Protection Mechanism Failure
Affected Product Github.com/falcosecurity/plugins/plugins/k8saudit aks
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-jhjp-4c2q-xmx4

To remediate this vulnerability, upgrade all affected Github.com/falcosecurity/plugins/plugins/k8saudit aks 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/falcosecurity/plugins/plugins/k8saudit-aks fixed: 0.6.0
Upgrade github.com/falcosecurity/plugins/plugins/k8saudit-aks to 0.6.0
github.com/falcosecurity/plugins/plugins/k8saudit-ovh fixed: 0.6.0
Upgrade github.com/falcosecurity/plugins/plugins/k8saudit-ovh to 0.6.0
github.com/falcosecurity/plugins/plugins/k8saudit fixed: 0.18.0
Upgrade github.com/falcosecurity/plugins/plugins/k8saudit to 0.18.0
github.com/falcosecurity/plugins/plugins/k8saudit-eks fixed: 0.12.0
Upgrade github.com/falcosecurity/plugins/plugins/k8saudit-eks to 0.12.0
github.com/falcosecurity/plugins/plugins/k8saudit-gke fixed: 0.9.0
Upgrade github.com/falcosecurity/plugins/plugins/k8saudit-gke to 0.9.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/falcosecurity/plugins/plugins/k8saudit-aks

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jhjp-4c2q-xmx4, inspect your project dependencies for Github.com/falcosecurity/plugins/plugins/k8saudit aks:

inspect dependencies for github.com/falcosecurity/plugins/plugins/k8saudit-aks

Analyze the terminal output to locate any version of Github.com/falcosecurity/plugins/plugins/k8saudit aks in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.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-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In Github.com/falcosecurity/plugins/plugins/k8saudit aks, 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

The `k8saudit` plugin's per-container fields (`ka.req.pod.containers.*`) and the shipped `k8s_audit_rules.yaml` evaluated only `requestObject.spec.containers`. Security-relevant settings on a pod's `initContainers` or `ephemeralContainers` were not inspected, so the shipped `Create Privileged Pod` rule did not fire for a privileged container placed in either list. ### Impact An actor able to create pods (the activity k8saudit is intended to audit) could run a privileged container without triggering the default `Create Privileged Pod` rule, by declaring it as an `initContainer` or `ephemeralContainer` instead of a regular container. Kubernetes runs such containers with the requested privileges, but the shipped rule did not see them. The same gap applied to other per-container security settings (capabilities, `allowPrivilegeEscalation`, `runAsUser`, etc.) and, for deployments using a customized image allowlist, to disallowed images placed in those lists. This is a detection bypass of the default k8saudit ruleset, not a direct privilege escalation, and it requires the ability to create pods. The cloud-provider variants (`k8saudit-eks`, `k8saudit-gke`, `k8saudit-aks`, `k8saudit-ovh`) embed the same extraction logic and ship the same ruleset, and were affected equally. Note: adding an ephemeral container goes through the `pods/ephemeralcontainers` subresource, so the `EphemeralContainers Created` rule still logged that event at `NOTICE`, but without any privileged/security evaluation. ### Patches Fixed in `k8saudit 0.18.0`, and in the cloud-variant releases that depend on it — `k8saudit-eks 0.12.0`, `k8saudit-gke 0.9.0`, `k8saudit-aks 0.6.0`, `k8saudit-ovh 0.6.0` — all released on 2026-06-19. The fix ([falcosecurity/plugins#1400](https://github.com/falcosecurity/plugins/pull/1400), merged 2026-06-18) adds dedicated `ka.req.pod.initContainers.*` and `ka.req.pod.ephemeralContainers.*` field families and updates `Create Privileged Pod` (via a new `any_container_privileged` macro) to evaluate all three container lists. Operators upgrading should review any **custom** rules built on `ka.req.pod.containers.*` — in particular tuned `Create Disallowed Pod` image allowlists — and extend them to the new `initContainers`/`ephemeralContainers` image fields. ### Workarounds For deployments that cannot upgrade immediately, restrict who can create pods (RBAC) and enforce Pod Security Admission (`baseline`/`restricted`) or an admission controller (Kyverno, OPA/Gatekeeper) to block privileged init/ephemeral containers at admission time, as defense-in-depth. ### Credits [kanywst](https://github.com/kanywst) — discovery and fix.

GHSA-jhjp-4c2q-xmx4 Affected Github.com/falcosecurity/plugins/plugins/k8saudit aks Versions

5 component(s)
Fixed Versions:
0.6.00.18.00.12.00.9.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/falcosecurity/plugins/plugins/k8saudit-aks
Go
< 0.6.0
0.6.0
github.com/falcosecurity/plugins/plugins/k8saudit-ovh
Go
< 0.6.0
0.6.0
github.com/falcosecurity/plugins/plugins/k8saudit
Go
< 0.18.0
0.18.0
github.com/falcosecurity/plugins/plugins/k8saudit-eks
Go
< 0.12.0
0.12.0
github.com/falcosecurity/plugins/plugins/k8saudit-gke
Go
< 0.9.0
0.9.0

References

Frequently Asked Questions

What is GHSA-jhjp-4c2q-xmx4?
GHSA-jhjp-4c2q-xmx4 is a security vulnerability in Github.com/falcosecurity/plugins/plugins/k8saudit aks involving k8saudit shipped rules do not detect privileged/sensitive settings on init or ephemeral containers under CWE-693: Protection Mechanism Failure.
Which Github.com/falcosecurity/plugins/plugins/k8saudit aks versions are affected?
Affected versions include releases prior to 0.6.0, 0.18.0, 0.12.0, 0.9.0 across affected packages: github.com/falcosecurity/plugins/plugins/k8saudit-aks, github.com/falcosecurity/plugins/plugins/k8saudit-ovh, github.com/falcosecurity/plugins/plugins/k8saudit, github.com/falcosecurity/plugins/plugins/k8saudit-eks, github.com/falcosecurity/plugins/plugins/k8saudit-gke.
What version fixes GHSA-jhjp-4c2q-xmx4?
Upgrading to 0.6.0, 0.18.0, 0.12.0, 0.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/falcosecurity/plugins/plugins/k8saudit-aks affected?
Yes, github.com/falcosecurity/plugins/plugins/k8saudit-aks is affected in releases prior to 0.6.0. Upgrade your dependency to 0.6.0 or later.
Is github.com/falcosecurity/plugins/plugins/k8saudit-ovh affected?
Yes, github.com/falcosecurity/plugins/plugins/k8saudit-ovh is affected in releases prior to 0.6.0. Upgrade your dependency to 0.6.0 or later.
What is the CVSS score of GHSA-jhjp-4c2q-xmx4?
GHSA-jhjp-4c2q-xmx4 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-jhjp-4c2q-xmx4?
GHSA-jhjp-4c2q-xmx4 is classified under CWE-693: Protection Mechanism Failure (The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.).
How can I check Go dependencies for GHSA-jhjp-4c2q-xmx4?
Run the dependency tree command: 'inspect dependencies for github.com/falcosecurity/plugins/plugins/k8saudit-aks'. 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-jhjp-4c2q-xmx4",
  "modified" : "2026-09-21T21:43:52Z",
  "published" : "2026-09-21T21:43:52Z",
  "aliases" : [ ],
  "summary" : "k8saudit shipped rules do not detect privileged/sensitive settings on init or ephemeral containers",
  "details" : "The `k8saudit` plugin's per-container fields (`ka.req.pod.containers.*`) and the shipped `k8s_audit_rules.yaml` evaluated only `requestObject.spec.containers`. Security-relevant settings on a pod's `initContainers` or `ephemeralContainers` were not inspected, so the shipped `Create Privileged Pod` rule did not fire for a privileged container placed in either list.\n\n### Impact\n\nAn actor able to create pods (the activity k8saudit is intended to audit) could run a privileged container without triggering the default `Create Privileged Pod` rule, by declaring it as an `initContainer` or `ephemeralContainer` instead of a regular container. Kubernetes runs such containers with the requested privileges, but the shipped rule did not see them. The same gap applied to other per-container security settings (capabilities, `allowPrivilegeEscalation`, `runAsUser`, etc.) and, for deployments using a customized image allowlist, to disallowed images placed in those lists.\n\nThis is a detection bypass of the default k8saudit ruleset, not a direct privilege escalation, and it requires the ability to create pods. The cloud-provider variants (`k8saudit-eks`, `k8saudit-gke`, `k8saudit-aks`, `k8saudit-ovh`) embed the same extraction logic and ship the same ruleset, and were affected equally.\n\nNote: adding an ephemeral container goes through the `pods/ephemeralcontainers` subresource, so the `EphemeralContainers Created` rule still logged that event at `NOTICE`, but without any privileged/security evaluation.\n\n\n### Patches\n\nFixed in `k8saudit 0.18.0`, and in the cloud-variant releases that depend on it — `k8saudit-eks 0.12.0`, `k8saudit-gke 0.9.0`, `k8saudit-aks 0.6.0`, `k8saudit-ovh 0.6.0` — all released on 2026-06-19.\n\nThe fix ([falcosecurity/plugins#1400](https://github.com/falcosecurity/plugins/pull/1400), merged 2026-06-18) adds dedicated `ka.req.pod.initContainers.*` and `ka.req.pod.ephemeralContainers.*` field families and updates `Create Privileged Pod` (via a new `any_container_privileged` macro) to evaluate all three container lists.\n\nOperators upgrading should review any **custom** rules built on `ka.req.pod.containers.*` — in particular tuned `Create Disallowed Pod` image allowlists — and extend them to the new `initContainers`/`ephemeralContainers` image fields.\n\n### Workarounds\n\nFor deployments that cannot upgrade immediately, restrict who can create pods (RBAC) and enforce Pod Security Admission (`baseline`/`restricted`) or an admission controller (Kyverno, OPA/Gatekeeper) to block privileged init/ephemeral containers at admission time, as defense-in-depth.\n\n### Credits\n\n[kanywst](https://github.com/kanywst) — discovery and fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/falcosecurity/plugins/plugins/k8saudit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.18.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.17.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/falcosecurity/plugins/plugins/k8saudit-eks"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.11.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/falcosecurity/plugins/plugins/k8saudit-gke"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.8.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/falcosecurity/plugins/plugins/k8saudit-aks"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.5.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/falcosecurity/plugins/plugins/k8saudit-ovh"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.5.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/security/advisories/GHSA-jhjp-4c2q-xmx4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/pull/1400"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/commit/0adb9b3c7e2c8bad53f30d01c057e038b2afa5e1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/falcosecurity/plugins"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/releases/tag/plugins/k8saudit-aks/v0.6.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/releases/tag/plugins/k8saudit-eks/v0.12.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/releases/tag/plugins/k8saudit-gke/v0.9.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/releases/tag/plugins/k8saudit-ovh/v0.6.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/falcosecurity/plugins/releases/tag/plugins/k8saudit/v0.18.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-693" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-21T21:43:52Z",
    "nvd_published_at" : null
  }
}