GHSA-87x9-7grx-m28v

Suggest an improvement
Source
https://github.com/advisories/GHSA-87x9-7grx-m28v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-87x9-7grx-m28v/GHSA-87x9-7grx-m28v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-87x9-7grx-m28v
Aliases
Related
Published
2023-02-22T00:03:49Z
Modified
2023-11-08T04:11:53.043320Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
notation-go has excessive memory allocation on verification
Details

Impact

notation-go users will find their application using excessive memory when verifying signatures and the application will be finally killed, and thus availability is impacted.

Patches

The problem has been patched in the release v1.0.0-rc.3. Users should upgrade their notation-go packages to v1.0.0-rc.3 or above.

Workarounds

Users can review their own trust policy file and check if the identity string contains =#. Meanwhile, users should only put trusted certificates in their trust stores referenced by their own trust policy files, and make sure the authenticity validation is set to enforce

Credits

The notation-go project would like to thank Adam Korczynski (@AdamKorcz) for responsibly disclosing this issue during a security fuzzing audit sponsored by CNCF and Shiwei Zhang (@shizhMSFT) for root cause analysis and detailed vulnerability report.

References

Database specific
{
    "nvd_published_at": "2023-02-20T16:15:00Z",
    "severity": "HIGH",
    "github_reviewed_at": "2023-02-22T00:03:49Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-770"
    ]
}
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.3