IBM / keyprotect-go-client

Go SDK for interacting with the IBM Cloud KeyProtect service.
Apache License 2.0
6 stars 29 forks source link

Please update vulnerable package: github.com/stretchr/testify #120

Open IzhakJakov opened 1 year ago

IzhakJakov commented 1 year ago

go-yaml/yaml#666

Details

CVE-2022-28948
high severity
Vulnerable versions: < 3.0.0-20220521103104-8f96da9f5d5e
Patched version: 3.0.0-20220521103104-8f96da9f5d5e

An issue in the Unmarshal function in Go-Yaml v3 can cause a program to panic when attempting to deserialize invalid input.

Remediation

Upgrade gopkg.in/yaml.v3 to version 3.0.0-20220521103104-8f96da9f5d5e or later. For example:

require gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e

Update github.com/stretchr/testify

github.com/IBM/keyprotect-go-client is inheriting this issue from github.com/stretchr/testify@v1.7.0

❯ ggdh 'gopkg.in/yaml.v3@v3.0.0-20200313102051-9f266ea9e77c'
      github.com/IBM/keyprotect-go-client@v0.12.3
                          ⬇
          github.com/stretchr/testify@v1.7.0
                          ⬇
  gopkg.in/yaml.v3@v3.0.0-20200313102051-9f266ea9e77c