Improper Input Validation Affecting github.com/tendermint/tendermint/libs/os package, versions <0.35.0-rc1


0.0
medium

Snyk CVSS

    Attack Complexity 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-GITHUBCOMTENDERMINTTENDERMINTLIBSOS-1290376
  • published 7 May 2021
  • disclosed 7 May 2021
  • credit odeke-em

Introduced: 7 May 2021

CVE NOT AVAILABLE CWE-20 Open this link in a new tab

How to fix?

Upgrade github.com/tendermint/tendermint/libs/os to version 0.35.0-rc1 or higher.

Overview

github.com/tendermint/tendermint/libs/os is a Tendermint Core (BFT Consensus) in Go

Affected versions of this package are vulnerable to Improper Input Validation. An issue exists which allows WAL to be consistently truncated by falsely supplying the WAL path which would be any arbitrary directory.