@opentelemetry/exporter-prometheus@0.202.0

OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus

  • latest version

    0.218.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @opentelemetry/exporter-prometheus 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
    Improper Handling of Exceptional Conditions

    @opentelemetry/exporter-prometheus is an OpenTelemetry Exporter Prometheus provides a metrics endpoint for Prometheus

    Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions via the PrometheusExporter process. An attacker can cause the process to terminate unexpectedly by sending a single malformed HTTP request to the metrics endpoint, resulting in an uncaught exception and process crash.

    Note:

    This is only exploitable if the application uses the built-in Prometheus exporter server or is configured with the OTEL_METRICS_EXPORTER environment variable including prometheus in combination with either @opentelemetry/sdk-node or @opentelemetry/auto-instrumentations-node.

    How to fix Improper Handling of Exceptional Conditions?

    Upgrade @opentelemetry/exporter-prometheus to version 0.217.0 or higher.

    <0.217.0