GHSA-xhg5-42rf-296r

Suggest an improvement
Source
https://github.com/advisories/GHSA-xhg5-42rf-296r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-xhg5-42rf-296r/GHSA-xhg5-42rf-296r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xhg5-42rf-296r
Aliases
Related
Published
2023-06-06T16:45:29Z
Modified
2023-11-08T04:12:42.891424Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
notation-go's verification bypass can cause users to verify the wrong artifact
Details

Impact

An attacker who controls or compromises a registry can lead a user to verify the wrong artifact.

Patches

The problem has been fixed in the release v1.0.0-rc.6. Users should upgrade their notation-go library to v1.0.0-rc.6 or above.

Workarounds

User should use secure and trusted container registries.

Credits

The notation project would like to thank Adam Korczynski (@AdamKorcz) for responsibly disclosing the issue found during an security audit (facilitated by OSTIF and sponsored by CNCF) and Shiwei Zhang (@shizhMSFT), Pritesh Bandi (@priteshbandi) for root cause analysis.

Database specific
{
    "nvd_published_at": "2023-06-06T19:15:12Z",
    "cwe_ids": [
        "CWE-347"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-06T16:45:29Z"
}
References

Affected packages

Go / github.com/notaryproject/notation-go

Package

Name
github.com/notaryproject/notation-go
View open source insights on deps.dev
Purl
pkg:golang/github.com/notaryproject/notation-go

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0-rc.6