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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None