Bug 2390860 - toolbox: go-viper's mapstructure May Leak Sensitive Information in Logs [fedora-41]
Summary: toolbox: go-viper's mapstructure May Leak Sensitive Information in Logs [fedo...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: toolbox
Version: 41
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["2289ae97-0e23-4686-a41c-7...
Depends On:
Blocks: GHSA-2464-8j7c-4cjm
TreeView+ depends on / blocked
 
Reported: 2025-08-25 17:55 UTC by Jon Moroney
Modified: 2025-08-27 23:38 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-27 23:38:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Moroney 2025-08-25 17:55:10 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams

Comment 1 Debarshi Ray 2025-08-27 23:32:07 UTC
This security issue doesn't impact Toolbx, even though the vulnerable code is present in Toolbx's dependency chain.

github.com/go-viper/mapstructure/v2 is an indirect dependency of Toolbx because of github.com/spf13/viper.  Toolbx uses Viper to read and parse its configuration files, which don't have any sensitive data.  Therefore, there's no sensitive data for mapstructure to leak in the logs.

The github.com/go-viper/mapstructure/v2 version has been updated in Toolbx upstream, merely to keep the dependencies updated, but there's no need to do a downstream build, because there's no security issue to be addressed.


Note You need to log in before you can comment on or make changes to this bug.