Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/sylabs/sif: GHSA-4gh8-x3vv-phhg #1314

Closed
GoVulnBot opened this issue Jan 9, 2023 · 1 comment

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-4gh8-x3vv-phhg, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/sylabs/sif 1.2.3 < 1.2.3

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: TODO
    versions:
      - fixed: 1.2.3
    packages:
      - package: github.com/sylabs/sif
description: |
    ### Impact

    The `siftool new` command and [func siftool.New()](https://pkg.go.dev/github.com/sylabs/sif/pkg/siftool#New) produce predictable UUID identifiers due to insecure randomness in the version of the `github.com/satori/go.uuid` module used as a dependency.

    ### Patches
    A patch is available in versions 1.2.3 and newer of the module. Users are encouraged to upgrade.

    ### Workarounds
    Users passing [CreateInfo struct](https://pkg.go.dev/github.com/sylabs/sif/pkg/sif#CreateInfo) should ensure the `ID` field is generated using a version of `github.com/satori/go.uuid` that is not vulnerable to this issue. Unfortunately, the latest tagged release is vulnerable to this issue. One way to obtain a non-vulnerable version is:

    ```
    go get github.com/satori/go.uuid@75cca531ea763666bc46e531da3b4c3b95f64557
    ```
cves:
  - CVE-2021-29499
ghsas:
  - GHSA-4gh8-x3vv-phhg

@tatianab
Copy link
Contributor

tatianab commented Jan 9, 2023

Duplicate of #912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants