Red Hat VEX
RHVEX-CVE-2025-11065
github.com/go-viper/mapstructure/v2: Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure
Details
A flaw was found in github.com/go-viper/mapstructure/v2, in the field processing component using mapstructure.WeakDecode. This vulnerability allows information disclosure through detailed error messages that may leak sensitive input values via malformed user-supplied data processed in security-critical contexts.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | gvisor-tap-vsock | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | gvisor-tap-vsock-gvforwarder | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | opentelemetry-collector | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | toolbox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | toolbox-tests | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock-gvforwarder | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | opentelemetry-collector | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | toolbox | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | toolbox-tests | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2025-11065
- https://bugzilla.redhat.com/show_bug.cgi?id=2391829
- https://www.cve.org/CVERecord?id=CVE-2025-11065
- https://nvd.nist.gov/vuln/detail/CVE-2025-11065
- https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c
- https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm