Skip to content

Iceberg's HTTP/1.1-only S3 client keeps rustls-webpki 0.101 and h2 0.3, which have no fixed release #2114

Open

Description

@bplatz

cargo audit reports four advisories that no lockfile update can clear. All of them come from the HTTP/1.1-only S3 client the Iceberg reader uses (http1_only_http_client() in fluree-db-iceberg/src/io/storage.rs).

Crate Advisories Fixed in
rustls-webpki 0.101.7 RUSTSEC-2026-0098 (URI name constraints accepted), 0099 (name constraints accepted for a wildcard name), 0104 (panic parsing a CRL) 0.103.12 / 0.103.13 only
h2 0.3.27 RUSTSEC-2026-0258 (unbounded empty DATA frames) 0.4.16

The client exists for GCS. GCS's S3 interop endpoint negotiates HTTP/2 through ALPN, and smithy mishandles HTTP/2 range (206) responses, so range reads of Parquet fail (see the comment above aws-smithy-http-client in the root Cargo.toml). The client is aws-smithy-http-client's hyper_014 builder with a hyper-rustls 0.24 connector that enables HTTP/1.1 only. That hyper 0.14 line brings rustls 0.21, and with it rustls-webpki 0.101. h2 0.3 is compiled in but never negotiated, since the connector offers no ALPN.

It's in the default CLI, server and Python builds, and checks the endpoint's certificate on every Iceberg S3 read.

Clearing these needs one of:

  • Our own HttpClient over hyper 1. A hyper-rustls 0.27 connector with only enable_http1(), behind smithy's HttpClient trait. This keeps the workaround and drops the hyper 0.14 stack.
  • An HTTP/1-only option upstream. As of aws-smithy-http-client 1.5.0 there isn't one. Its hyper 1 client builds the TLS connector itself, ConnectorBuilder::wrap_connector, which would take ours, is pub(crate), and its connection pool offers h2 in ALPN unless a request is HTTP/1.0 or asks to upgrade.
  • Dropping the workaround, if smithy now reads HTTP/2 range responses correctly. That needs a test against GCS.

Follow-up from #2046.

Activity

  1. added
    P2
    triage:needs-decision
    area:iceberg
    on Oct 13, 2026
  2. aaj3f commented on Nov 11, 2026

    @aaj3f
    Contributor

    fwiw, the first option here (our own hyper-1 HttpClient with only enable_http1()) is also where proxy support for S3 reads would naturally go: http1_only_http_client has no CONNECT support today, and its with_native_roots() lets SSL_CERT_FILE replace the OS store rather than add to it. I've filed that as #2303. It might be worth doing both in one change, so the replacement client gets proxy and extra-root support from the start.

    (Found during a Claude-assisted audit; read, not run.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2area:icebergtriage:needs-decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions