GHSA-45v3-38pc-874v

Suggest an improvement
Source
https://github.com/advisories/GHSA-45v3-38pc-874v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-45v3-38pc-874v/GHSA-45v3-38pc-874v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-45v3-38pc-874v
Aliases
Related
Published
2025-01-13T16:14:07Z
Modified
2025-01-14T21:05:54Z
Severity
  • 4.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
notation-go's timestamp signature generation lacks certificate revocation check
Details

This issue was identified during Quarkslab's audit of the timestamp feature.

Summary

During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified.

Details

During timestamp signature generation, notation-go did not check the revocation status of the certificate chain used by the TSA. This oversight creates a vulnerability that could be exploited through a Man-in-The-Middle attack. An attacker could potentially use a compromised, intermediate, or revoked leaf certificate to generate a malicious countersignature, which would then be accepted and stored by notation.

Impact

This could lead to denial of service scenarios, particularly in CI/CD environments during signature verification processes because timestamp signature would fail due to the presence of a revoked certificate(s) potentially disrupting operations.

Database specific
{
    "nvd_published_at": "2025-01-13T22:15:14Z",
    "cwe_ids": [
        "CWE-299"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-13T16:14:07Z"
}
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
1.2.0-beta.1
Fixed
1.3.0-rc.2

Database specific

{
    "last_known_affected_version_range": "<= 1.3.0-rc.1"
}