CVE-2025-52556 PUBLISHED

rfc3161-client has insufficient verification for timestamp response signatures

Assigner: GitHub_M
Reserved: 18.06.2025 Published: 21.06.2025 Updated: 21.06.2025

rfc3161-client is a Python library implementing the Time-Stamp Protocol (TSP) described in RFC 3161. Prior to version 1.0.3, there is a flaw in the timestamp response signature verification logic. In particular, chain verification is performed 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. This issue has been patched in version 1.0.3. There is no workaround for this issue.

Metrics

CVSS Vector: 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 Score: 9.3

Product Status

Vendor trailofbits
Product rfc3161-client
Versions
  • Version < 1.0.3 is affected

References

Problem Types

  • CWE-347: Improper Verification of Cryptographic Signature CWE