{"id":"CVE-2025-24884","aliases":["CVE-2025-24884","GHSA-hcr5-wv4p-h2g2","GO-2025-3431"],"related":[],"kind":"vulnerability","state":"published","title":"kube-audit-rest's example logging configuration could disclose secret values in the audit log","summary":"kube-audit-rest is a simple logger of mutation/creation requests to the k8s api. If the \"full-elastic-stack\" example vector configuration was used for a real cluster, the previous values of kubernetes secrets would have been disclosed in the audit messages. This vulnerability is fixed in 1.0.16.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"kube-audit-rest is a simple logger of mutation/creation requests to the k8s api. If the \"full-elastic-stack\" example vector configuration was used for a real cluster, the previous values of kubernetes secrets would have been disclosed in the audit messages. This vulnerability is fixed in 1.0.16.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nIf the \"full-elastic-stack\" example vector configuration was used for a real cluster, the previous values of kubernetes secrets would have been disclosed in the audit messages.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nThe example has been updated to fix this in commit 9df8886b4819409f566233adc7c3b7a43a4096ba\n\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nReplace \n```yaml\n\n          if .request.requestKind.kind == \"Secret\" {\n            del(.request.object.data)\n            .request.object.data.redacted = \"REDACTED\"\n            del(.request.oldObject.data)\n            .request.oldObject.data.redacted = \"REDACTED\"\n          }\n```\nIn the vector \"audit-files-json-parser-and-redaction\" step\nwith\n```yaml\n\n          if .request.requestKind.kind == \"Secret\" {\n            # Redact the secret data\n            del(.request.object.data)\n            .request.object.data.redacted = \"REDACTED\"\n            del(.request.oldObject.data)\n            .request.oldObject.data.redacted = \"REDACTED\"\n            # Remove the previously set secret data - Not bothering to parse it as this annotation shouldn't ever be needed\n            del(.request.object.metadata.annotations.[\"kubectl.kubernetes.io/last-applied-configuration\"])\n            del(.request.oldObject.metadata.annotations.[\"kubectl.kubernetes.io/last-applied-configuration\"])\n          }\n```\n\n\n### References\n_Are there any links users can visit to find out more?_","format":"markdown","source":"ghsa"},{"lang":"en","text":"kube-audit-rest's example logging configuration could disclose secret values in the audit log in github.com/RichardoC/kube-audit-rest","format":"markdown","source":"go"},{"lang":"es","text":"kube-audit-rest es un registrador simple de solicitudes de mutación/creación a la API de k8s. Si se hubiera utilizado la configuración de vector de ejemplo \"full-elastic-stack\" para un clúster real, los valores anteriores de los secretos de Kubernetes se habrían revelado en los mensajes de auditoría. Esta vulnerabilidad se solucionó en la versión 1.0.16.","source":"nvd"}],"published":"2025-01-29T20:15:39.454Z","modified":"2026-06-17T08:59:46.967Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"MEDIUM"}],"cwes":["CWE-200","CWE-212","CWE-532"],"affected":[{"ranges":[{"version":"< 1.0.16","status":"affected"}],"vendor":"RichardoC","product":"kube-audit-rest","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250205113217-9df8886b4819"}],"ecosystem":"Go","package":"github.com/RichardoC/kube-audit-rest","purl":"pkg:golang/github.com/RichardoC/kube-audit-rest","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250129191722-db1aa5b86725"}],"ecosystem":"Go","package":"github.com/RichardoC/kube-audit-rest","purl":"pkg:golang/github.com/RichardoC/kube-audit-rest","source":"go"}],"references":[{"url":"https://github.com/RichardoC/kube-audit-rest/security/advisories/GHSA-hcr5-wv4p-h2g2","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/RichardoC/kube-audit-rest/commit/db1aa5b867256b0a7bf206544c6981ab068b73dc","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24884","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/RichardoC/kube-audit-rest","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3431","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-31T16:55:48.284Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24884","url":"https://www.cve.org/CVERecord?id=CVE-2025-24884","licence":"CVE Terms of Use","modified":"2025-01-31T16:56:01.134Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hcr5-wv4p-h2g2","url":"https://github.com/advisories/GHSA-hcr5-wv4p-h2g2","licence":"CC-BY-4.0","modified":"2025-02-05T16:28:49.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3431","url":"https://pkg.go.dev/vuln/GO-2025-3431","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:10.523Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24884","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24884","licence":"Public domain","modified":"2026-06-17T08:59:46.967Z"}],"updatedAt":"2026-11-25T22:58:53.672Z","epss":{"score":0.00196,"percentile":0.09816,"date":"2026-12-01T12:00:22.000Z"}}