GO-2022-1045

See a problem?
Source
https://pkg.go.dev/vuln/GO-2022-1045
Import Source
https://vuln.go.dev/ID/GO-2022-1045.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-1045
Aliases
Published
2022-10-21T15:34:36Z
Modified
2024-05-20T16:03:47Z
Summary
Improper validation of signature hash algorithms in github.com/sylabs/sif/v2
Details

The Singularity Image Format (SIF) reference implementation does not verify that the hash algorithm(s) used are cryptographically secure when verifying digital signatures.

References

Affected packages

Go / github.com/sylabs/sif/v2

Package

Name
github.com/sylabs/sif/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/sylabs/sif/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/sylabs/sif/v2/pkg/integrity",
            "symbols": [
                "Signer.Sign",
                "Verifier.Verify",
                "digest.MarshalJSON",
                "digest.UnmarshalJSON",
                "newDigest",
                "signAndEncodeJSON",
                "verifyAndDecode"
            ]
        }
    ]
}