clickhouse-backup
clickhouse-backup copied to clipboard
Vulnerability in jwt-go
If I scan the latest version 1.4.3 with trivy, I get a security warning on github.com/dgrijalva/jwt-go:
# trivy image --severity HIGH,CRITICAL alexakulov/clickhouse-backup:1.4.3
bin/clickhouse-backup (gobinary)
Total: 1 (HIGH: 1, CRITICAL: 0)
┌─────────────────────────────┬────────────────┬──────────┬─────────────────────┬───────────────┬─────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Installed Version │ Fixed Version │ Title │
├─────────────────────────────┼────────────────┼──────────┼─────────────────────┼───────────────┼─────────────────────────────────────────────────┤
│ github.com/dgrijalva/jwt-go │ CVE-2020-26160 │ HIGH │ v3.2.0+incompatible │ │ jwt-go: access restriction bypass vulnerability │
│ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2020-26160 │
└─────────────────────────────┴────────────────┴──────────┴─────────────────────┴───────────────┴─────────────────────────────────────────────────┘
I see that it is an indirect dependency, but is it possible to fix this somehow?
look like it require update Azure dependencies, but we don't have enought resources for testing feel free to make pull request
latest 1.6.2 version update Auzre dependencies now we use github.com/golang-jwt/jwt/v4