VDB
KO

GO-2025-3900

Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure

Details

Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/go-viper/mapstructure
Introduced in: 0

No fixed version published yet for github.com/go-viper/mapstructure (go modules). Pin to a known-safe version or switch to an alternative.

Go / github.com/go-viper/mapstructure/v2
Introduced in: 0 Fixed in: 2.4.0
Fix go get github.com/go-viper/mapstructure/v2@v2.4.0

References