Arbitrary File Read Affecting github.com/cockroachdb/cockroach/pkg/server package, versions <21.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCOCKROACHDBCOCKROACHPKGSERVER-1909511
  • published2 Nov 2021
  • disclosed2 Nov 2021
  • creditRaphael 'kena' Poss

Introduced: 2 Nov 2021

CVE NOT AVAILABLE CWE-22  (opens in a new tab)

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.

References

CVSS Scores

version 3.1