io.micrometer:micrometer-tracing-bridge-brave@1.6.6

  • latest version

    1.7.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    5 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the io.micrometer:micrometer-tracing-bridge-brave 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
    • M
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the contextWithBaggage parsing path in io.micrometer.tracing.brave.bridge.W3CPropagation. An attacker can exhaust CPU and heap by sending a request with a W3C baggage header containing an excessive number of key-value pairs or an oversized header, which the extractor parses without bounding the input. The vulnerable code allocates baggage objects for each parsed entry from untrusted headers, creating garbage-collection pressure and high CPU usage during request processing. In affected applications that accept attacker-controlled baggage headers, this can trigger OutOfMemoryError and crash the service.

    Notes

    • Additional fixes are available for earlier versions under Enterprise Support (see the Spring Security Advisory for additional details)

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade io.micrometer:micrometer-tracing-bridge-brave to version 1.6.7, 1.7.1 or higher.

    [,1.6.7)[1.7.0,1.7.1)