{"answers":{"affected":"3 open source packages ship an affected version, including github.com/RichardoC/kube-audit-rest.","exploited":"There is no known exploitation of CVE-2025-24884 in the wild and no public exploit code.","fix":"Upgrade github.com/RichardoC/kube-audit-rest to a fixed version for your release line: 0.0.0-20250129191722-db1aa5b86725 or 0.0.0-20250205113217-9df8886b4819.","what":"CVE-2025-24884 is a medium-severity vulnerability in RichardoC kube-audit-rest, published on 29 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-24884 and fix it if it is affected.\n\nWhat it is: CVE-2025-24884 is a medium-severity vulnerability in RichardoC kube-audit-rest, published on 29 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-24884 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/RichardoC/kube-audit-rest (Go): affected all versions; fixed in 0.0.0-20250129191722-db1aa5b86725\n- github.com/RichardoC/kube-audit-rest (Go): affected all versions; fixed in 0.0.0-20250205113217-9df8886b4819\n- github.com/RichardoC/kube-audit-rest (Go): affected all versions; fixed in 0.0.0-20250205113217-9df8886b4819\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24884/ (Markdown: https://insights.sbomify.com/CVE-2025-24884/index.md)","id":"CVE-2025-24884","markdown":"https://insights.sbomify.com/CVE-2025-24884/index.md","name":"CVE-2025-24884","record":{"aliases":["GHSA-hcr5-wv4p-h2g2","GO-2025-3431"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Kubernetes audit logger","requires_auth":"none","summary":"Using the full-elastic-stack example configuration in kube-audit-rest discloses Kubernetes secret values in audit logs.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"},{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"kube-audit-rest's example logging configuration could disclose secret values in the audit log","id":"CVE-2025-24884","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"pwn.college has a XSS on dojo pages","id":"CVE-2025-24885"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250129191722-db1aa5b86725"],"introduced":["0"],"last_affected":[],"package":"github.com/RichardoC/kube-audit-rest","purl":"pkg:golang/github.com/RichardoC/kube-audit-rest","source":"GO-2025-3431"},{"ecosystem":"Go","fixed":["0.0.0-20250205113217-9df8886b4819"],"introduced":["0"],"last_affected":[],"package":"github.com/RichardoC/kube-audit-rest","purl":null,"source":"GHSA-hcr5-wv4p-h2g2"},{"ecosystem":"Go","fixed":["0.0.0-20250205113217-9df8886b4819"],"introduced":["0"],"last_affected":[],"package":"github.com/RichardoC/kube-audit-rest","purl":"pkg:golang/github.com/RichardoC/kube-audit-rest","source":"GHSA-hcr5-wv4p-h2g2"}],"prev":{"headline":"go-ethereum has a DoS via malicious p2p message","id":"CVE-2025-24883"},"products":["kube-audit-rest"],"published":"2025-01-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-31","vendors":["RichardoC"]},"summary":"Using the full-elastic-stack example configuration in kube-audit-rest discloses Kubernetes secret values in audit logs.","url":"https://insights.sbomify.com/CVE-2025-24884/"}