org.elasticsearch.plugin:esql-datasource-s3@9.5.2

  • latest version

    9.5.6

  • latest non vulnerable version

  • first published

    6 months ago

  • latest version published

    28 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.elasticsearch.plugin:esql-datasource-s3 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
    Server-side Request Forgery (SSRF)

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the S3Configuration class of the ES|QL S3 data source, which accepts any absolute http or https URL in the endpoint and sts_endpoint settings and in bucket names that route to non-default hosts (ARN, MRAP, S3 Express, Outposts). A user with data-source management privileges can obtain storage credentials, and on Elastic Cloud Hosted deployments that opt in to workload identity, the node's OIDC workload-identity token, by registering a data source that points the S3 or STS client at a host they control. This affects only deployments with esql.federation.enabled set.

    Note: After upgrading, data sources that use a non-AWS endpoint (e.g. MinIO, Ceph) stop serving reads. An operator needs to add the host to esql.external.allowed_endpoint_hosts and restart.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade org.elasticsearch.plugin:esql-datasource-s3 to version 9.5.6 or higher.

    [9.5.0,9.5.6)