com.linecorp.armeria:armeria-xds@1.34.2

  • latest version

    1.41.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    17 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.linecorp.armeria:armeria-xds 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
    • C
    Improper Certificate Validation

    Affected versions of this package are vulnerable to Improper Certificate Validation through TransportSocketSnapshot in xds/src/main/java/com/linecorp/armeria/xds/TransportSocketSnapshot.java. An attacker can perform a man-in-the-middle attack against an xDS-managed upstream connection by supplying a TLS server certificate when the upstream’s validation_context omits both trusted_ca and system_root_certs, or when no validation context is configured at all. In those cases, the client accepts the connection without authenticating the peer, so traffic to the upstream can be intercepted and the user’s requests and responses can be read or altered.

    Workarounds

    • Always configure an explicit trusted_ca or system_root_certs in every CertificateValidationContext for xDS-managed upstreams to ensure the upstream peer certificate is actually validated and to prevent silent noVerify() acceptance of arbitrary certificates.
    • Configure explicit SAN matchers on upstream TLS contexts so the upstream identity is checked even if chain validation is not providing a trust anchor, reducing the risk of a man-in-the-middle endpoint being accepted.
    • Audit xDS control plane configurations to make sure no upstream cluster is deployed with an empty or missing validation_context, preventing accidental or malicious TLS peer-verification disablement.

    How to fix Improper Certificate Validation?

    Upgrade com.linecorp.armeria:armeria-xds to version 1.41.0 or higher.

    [,1.41.0)