Arbitrary File Read Affecting github.com/cockroachdb/cockroach/pkg/server Open this link in a new tab package, versions <21.2.0
Attack Complexity
Low
Confidentiality
High
Do your applications use this vulnerable package?
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 applications-
snyk-id
SNYK-GOLANG-GITHUBCOMCOCKROACHDBCOCKROACHPKGSERVER-1909511
-
published
2 Nov 2021
-
disclosed
2 Nov 2021
-
credit
Raphael 'kena' Poss
Introduced: 2 Nov 2021
CWE-22 Open this link in a new tabHow to fix?
Upgrade github.com/cockroachdb/cockroach/pkg/server
to version 21.2.0 or higher.
Overview
github.com/cockroachdb/cockroach/pkg/server is an open source, cloud-native SQL database.
Affected versions of this package are vulnerable to Arbitrary File Read. The internal log file APIs have an "unrestricted" mode that is able to access non-log files in arbitrary filesystem locations.