Skip to content

fix: update rustls-webpki and webpki-roots for emSign advisories - #3496

Merged
kevinjqliu merged 2 commits into
apache:mainfrom
dhruvarya-db:fix-webpki-emsign-advisories
Oct 20, 2026
Merged

kevinjqliu merged 2 commits into
apache:mainfrom
dhruvarya-db:fix-webpki-emsign-advisories

Conversation

@dhruvarya-db

@dhruvarya-db dhruvarya-db commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A. security_audit started failing on main and on open PRs after RustSec published three advisories for the distrusted emSign certificates (CVE-2026-111943).

What changes are included in this PR?

Updates rustls-webpki to 0.103.16 and webpki-root-certs to 1.0.10, which addresses RUSTSEC-2026-0382 and RUSTSEC-2026-0383.

RUSTSEC-2026-0381 flags webpki-roots, including the 0.26.11 release pulled in by sqlx-core 0.8.6. A lockfile bump can't clear that one: 0.26.11 is the final 0.26.x release. webpki-roots was only enabled by the tls-rustls feature on the sqlx dev-dependency of iceberg-catalog-sql, and the SQL catalog tests only use SQLite, which doesn't use TLS. This PR removes that feature, which drops webpki-roots from the lockfile entirely, so no audit ignore is needed.

Are these changes tested?

Validated with cargo audit (no findings, no new ignores), cargo metadata --locked --format-version 1, cargo check --workspace --all-targets --locked, and the iceberg-catalog-sql tests plus the SQL catalog cases of iceberg-catalog-loader.

AI Disclosure

Written with Claude Opus 5.5 and reviewed by me. Worth a reviewer's check: that no test or local workflow relies on the sqlx dev-dependency having TLS enabled (for example, running the SQL catalog tests against a TLS-enabled Postgres or MySQL).

Bump rustls-webpki to 0.103.16 and webpki-roots / webpki-root-certs to
1.0.10 to address RUSTSEC-2026-0382, RUSTSEC-2026-0381 and
RUSTSEC-2026-0383. Ignore RUSTSEC-2026-0381 for the webpki-roots 0.26.11
shim pulled in by sqlx-core 0.8.6, which re-exports the fixed 1.0.10.

Co-authored-by: Isaac <no-reply@databricks.com>

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty, another day another advisory 😭

@laskoviymishka laskoviymishka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not again....

@dhruvarya-db

dhruvarya-db commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author
image

@laskoviymishka I can't mark it as open for review due to this. Can this PR still be merged?
Nvm, I closed some other PRs to make it work

@dhruvarya-db
dhruvarya-db marked this pull request as ready for review October 20, 2026 21:00
@kevinjqliu
kevinjqliu added this pull request to the merge queue Oct 20, 2026
…6-0381

The SQL catalog tests only use SQLite, so the tls-rustls feature on the
sqlx dev-dependency is unused. Removing it drops webpki-roots from the
lockfile, so the audit ignore is no longer needed.

Co-authored-by: Isaac <no-reply@databricks.com>
Merged via the queue into apache:main with commit 219571a Oct 20, 2026
@laskoviymishka

Copy link
Copy Markdown
Contributor

@dhruvarya-db - it's a published PR limit, instead of closing you also can move some of PR-s back to "Draft" mode

kevinjqliu pushed a commit to kevinjqliu/iceberg-rust that referenced this pull request Oct 20, 2026
…che#3496)

* fix: update rustls-webpki and webpki-roots for emSign advisories

Bump rustls-webpki to 0.103.16 and webpki-roots / webpki-root-certs to
1.0.10 to address RUSTSEC-2026-0382, RUSTSEC-2026-0381 and
RUSTSEC-2026-0383. Ignore RUSTSEC-2026-0381 for the webpki-roots 0.26.11
shim pulled in by sqlx-core 0.8.6, which re-exports the fixed 1.0.10.

Co-authored-by: Isaac <no-reply@databricks.com>

* fix: drop unused sqlx TLS dev feature instead of ignoring RUSTSEC-2026-0381

The SQL catalog tests only use SQLite, so the tls-rustls feature on the
sqlx dev-dependency is unused. Removing it drops webpki-roots from the
lockfile, so the audit ignore is no longer needed.

Co-authored-by: Isaac <no-reply@databricks.com>

---------

Co-authored-by: Dhruv Arya <aryadhruv@gmail.com>
Co-authored-by: Isaac <no-reply@databricks.com>
kevinjqliu added a commit to dannycjones/iceberg-rust that referenced this pull request Oct 27, 2026
… advisories

Lockfile bumps from main, at main's versions:
- quinn-proto 0.11.19 (apache#3425)
- rustls 0.23.46, with aws-lc-rs 1.18.1 and aws-lc-sys 0.45.0 (apache#3455)
- rustls-webpki 0.103.16, webpki-roots and webpki-root-certs 1.0.10 (apache#3496)
- ctutils 0.4.5 (apache#3519)

Co-authored-by: Danny C Jones <djonesoa@amazon.com>
Co-authored-by: Kevin Liu <kevin.jq.liu@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants