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
MediumCVSS 5.3
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
19 packages: 2 fixed, 1 partially fixed, 16 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-go-viper-mapstructure(Debian 13) | = 2.2.1-1; = 2.2.1-2; = 2.4.0-1; = 2.5.0-1 +4 more | No fix listed | No fix yet |
| redhat acm | All versions | No fix listed | No fix yet |
| redhat advanced cluster security | All versions | No fix listed | No fix yet |
| redhat certifications | All versions | No fix listed | No fix yet |
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat openshift | = 4; All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat openshift devspaces | = 3; All versions | No fix listed | No fix yet |
| redhat openshift distributed tracing | All versions | No fix listed | No fix yet |
| redhat openshift gitops | All versions | No fix listed | No fix yet |
| redhat openshift pipelines | All versions | No fix listed | No fix yet |
| redhat trusted application pipeline | All versions | No fix listed | No fix yet |
| redhat trusted artifact signer | All versions | No fix listed | No fix yet |
| redhat zero trust workload identity manager | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| go-viper github.com/go-viper/mapstructure/v2(Go) | < 2.4.0; <= 2.3.0; All versions | 2.4.0 | Partially fixed |
| debian/golang-github-go-viper-mapstructure(Debian 14) | < 2.4.0-1; = 2.2.1-1; = 2.2.1-2 | 2.4.0-1 | Fixed |
| github.com/go-viper/mapstructure/v2 | < 2.4.0 | 2.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-viper github.com/go-viper/mapstructure/v2(Go) | < 2.4.0 | 2.4.0 |
| go-viper github.com/go-viper/mapstructure/v2(Go) | All versions | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | All versions | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.2.1-1 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.2.1-2 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.4.0-1 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.5.0-1 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.5.0-1~bpo13+1 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.5.0-2 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:13) | = 2.5.0-3 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:14) | < 2.4.0-1 | 2.4.0-1 |
| debian/golang-github-go-viper-mapstructure(Debian:14) | = 2.2.1-1 | No fix listed |
| debian/golang-github-go-viper-mapstructure(Debian:14) | = 2.2.1-2 | No fix listed |
| go-viper github.com/go-viper/mapstructure/v2(Go) | <= 2.3.0 | No fix listed |
| github.com/go-viper/mapstructure/v2 | < 2.4.0 | 2.4.0 |
| redhat openshift pipelines | All versions | No fix listed |
| redhat acm | All versions | No fix listed |
| redhat advanced cluster security | All versions | No fix listed |
| redhat certifications | All versions | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat openshift devspaces | All versions | No fix listed |
| redhat openshift devspaces | = 3 | No fix listed |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat openshift distributed tracing | All versions | No fix listed |
| redhat openshift gitops | All versions | No fix listed |
| redhat trusted application pipeline | All versions | No fix listed |
| redhat trusted artifact signer | All versions | No fix listed |
| redhat zero trust workload identity manager | All versions | No fix listed |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- access.redhat.com vdb-entry
- RHBZ#2391829 issue-tracking
- github.com product
- pkg.go.dev
- Debian Security Tracker CVE-2025-11065 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking