org.bouncycastle:bcmail-jdk18on@1.80.2

  • latest version

    1.85

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.bouncycastle:bcmail-jdk18on package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Insufficient Verification of Data Authenticity

    Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity through a trusted signer-asserted timestamp in the getSignatureTime() method of the S/MIME validator, which returns the CMS signingTime signed attribute and passes it to PKIXCertPathReviewer via usedParameters.setDate(). An attacker holding an expired or revoked signing key can make a signature validate as trusted by setting signingTime to an instant before the revocation or expiry, so the certificate validity and CRL revocation checks run at that chosen time and both isValidCertPath() and ValidationResult.isValidSignature() return true. This requires the signing certificate to chain to a trusted anchor and the application to rely on the S/MIME validator for signature trust, and no RFC 3161 timestamp token is checked to constrain the asserted time against the current time.

    How to fix Insufficient Verification of Data Authenticity?

    Upgrade org.bouncycastle:bcmail-jdk18on to version 1.85 or higher.

    [,1.85)