GHSA-6qhv-4h7r-2g9m

Suggest an improvement
Source
https://github.com/advisories/GHSA-6qhv-4h7r-2g9m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-6qhv-4h7r-2g9m/GHSA-6qhv-4h7r-2g9m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6qhv-4h7r-2g9m
Aliases
Published
2025-06-20T18:08:40Z
Modified
2025-06-27T22:37:36.453442Z
Severity
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
rfc3161-client has insufficient verification for timestamp response signatures
Details

Impact

rfc3161-client 1.0.2 and earlier contain a flaw in their timestamp response signature verification logic. In particular, it performs chain verification against the TSR's embedded certificates up to the trusted root(s), but fails to verify the TSR's own signature against the timestamping leaf certificates. Consequently, vulnerable versions perform insufficient signature validation to properly consider a TSR verified, as the attacker can introduce any TSR signature so long as the embedded leaf chains up to some root TSA.

Patches

Users should immediately upgrade to rfc3161-client 1.0.3 or later.

Workarounds

There is no workaround possible. Users should immediately upgrade to a fixed version.

Database specific
{
    "nvd_published_at": "2025-06-21T02:15:19Z",
    "cwe_ids": [
        "CWE-347"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2025-06-20T18:08:40Z"
}
References

Affected packages

PyPI / rfc3161-client

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.3

Affected versions

0.*

0.0.2
0.0.3
0.0.4
0.1.0
0.1.1
0.1.2

1.*

1.0.0
1.0.1
1.0.2

Database specific

{
    "last_known_affected_version_range": "<= 1.0.2"
}