Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade rfc3161-client to version 1.0.6 or higher.
Affected versions of this package are vulnerable to Improper Certificate Validation through the Verifier._verify_leaf_certs logic in src/rfc3161_client/verify.py. An attacker can make a timestamp response from a trusted TSA verify as if it came from a different pinned TSA by injecting certificates into the PKCS#7 SignedData bag so the leaf-selection heuristic picks a forged certificate that matches the configured common_name and EKU while the signature still validates against the real TSA certificate. This lets an attacker impersonate the expected timestamp authority and cause applications to accept timestamps under the wrong TSA identity.
Notes
SignerInfo with issuerAndSerialNumber; code paths that reject responses with multiple signer infos or that do not use the SignedData certificate bag for leaf selection are not affected by this specific issue.roots/intermediates set, plus the ability to inject extra certificates into that response; without a trusted underlying signature chain, verification still fails.