github.com/datadog/dd-trace-go/contrib/database/sql/v2 is vulnerable to Generation of Error Message Containing Sensitive Information
15
Low Risk
This patch improves error handling in the database/sql contrib package by sanitizing sensitive information in database connection strings before logging or including it in error messages. It ensures that credentials and other confidential details are not exposed in logs or error outputs, aligning with security best practices for protecting connection data.
You are affected if you are using a version that falls within the vulnerable range.
github.com/datadog/dd-trace-go/contrib/database/sql/v2 is vulnerable to Generation of Error Message Containing Sensitive Information in versions 2.0.0 - 2.0.0.
Upgrade the github.com/datadog/dd-trace-go/contrib/database/sql/v2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant