Arbitrary File Read Affecting github.com/cockroachdb/cockroach/pkg/server package, versions <21.2.0
Snyk CVSS
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
How 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.