Skip to content

fix: upgrade mapstructure/v2 to 2.4.0 to fix CVE-2025-11065#76

Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1769671868-fix-mapstructure-vulnerability
Open

fix: upgrade mapstructure/v2 to 2.4.0 to fix CVE-2025-11065#76
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1769671868-fix-mapstructure-vulnerability

Conversation

@devin-ai-integration
Copy link

Upgrades github.com/go-viper/mapstructure/v2 from v2.3.0 to v2.4.0 to address a medium severity security vulnerability.

Security Issue

CVE-2025-11065 - Improper Output Neutralization for Logs (CWE-117)

This vulnerability was identified by a Snyk security scan. The fix is available in mapstructure v2.4.0.

Changes

  • Updated go.mod to require mapstructure v2.4.0
  • Updated go.sum with new checksums

Testing

  • All existing tests pass
  • Lint checks pass

Human Review Checklist


Link to Devin run: https://app.devin.ai/sessions/91abfc11413f400b83c6f12943f0915d
Requested by: @shayanshafii

Fixes a medium severity vulnerability (Improper Output Neutralization for Logs)
in github.com/go-viper/mapstructure/v2 by upgrading from 2.3.0 to 2.4.0.

Co-Authored-By: shayan@cognition.ai <shayan@cognition.ai>
@devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants