In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/cockroachdb/cockroach/pkg/security
to version 22.2.0 or higher.
Affected versions of this package are vulnerable to Information Exposure such that it is possible to indirectly use environment variables when specifying the value of --certs-dir
. For example, a malicious user that can indirectly control the flag can specify --certs-dir=$COCKROACH_LICENSE_KEY
and discover the environmental variable value in the error message even if they don't have access to env vars otherwise.