Skip to content

build(deps): bump aws-smithy-json to 0.62.7 for CVE-2026-18140 - #2309

Merged
thiras merged 1 commit into
mainfrom
chore/bump-aws-smithy-json
Oct 5, 2026
Merged

thiras merged 1 commit into
mainfrom
chore/bump-aws-smithy-json

Conversation

@thiras

@thiras thiras commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

What

Bumps aws-smithy-json 0.62.5 → 0.62.7 for CVE-2026-18140: uncontrolled recursion on deeply nested JSON (HIGH, denial of service). The Trivy filesystem scan job fails on every PR until main carries the fix (first seen on #2308).

The crate reaches the node through the S3 origin's AWS SDK (aws-sdk-s3, and the aws-config credential chain: SSO, STS, IMDS).

No issue to close.

Reviewer notes

  • Lockfile-only. No dependency requirement changed.
  • 0.62.7 adds one new lock entry, aws-smithy-schema 0.1.0.
  • cargo update -p aws-smithy-json --precise 0.62.7 also re-picked versions for 12 unrelated crates with ranged socket2 / windows-sys requirements. I dropped those, so the diff is only the smithy entries. cargo metadata --locked and cargo build --locked accept the trimmed lockfile.

Verification

  • cargo build --locked -p decdn-cache
  • cargo nextest run -p decdn-cache S3 suites: 53/53 pass
  • cargo deny check advisories: ok
  • pre-commit on commit: pass
  • CHANGELOG.md entry added (Security)
  • PR title: build(deps): …

🤖 Generated with Claude Code

CVE-2026-18140: uncontrolled recursion on deeply nested JSON in
aws-smithy-json 0.62.5, a denial of service. It reaches the node through
the S3 origin AWS SDK and the aws-config credential chain. Lockfile-only
bump; 0.62.7 adds aws-smithy-schema as a dependency. Other multi-version
lock entries are left as they were.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 06:44
@thiras thiras self-assigned this Oct 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The lockfile entries match the published crate metadata and fully apply the documented security fix.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the locked AWS Smithy JSON parser to remediate CVE-2026-18140 in the S3 origin dependency chain.

Changes:

  • Bumps aws-smithy-json from 0.62.5 to 0.62.7.
  • Adds its new aws-smithy-schema dependency.
  • Documents the security update.
File Description
Cargo.lock Locks the patched parser and required schema dependency.
CHANGELOG.md Records the vulnerability remediation and dependency path.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Rust

Rust / code-coverage/cargo-llvm-cov

The overall line coverage in commit c4895bf in the chore/bump-aws-smith... branch remains at 87%, unchanged from commit b37bbc4 in the main branch.

Show a line coverage summary of the most impacted files.
File main b37bbc4 chore/bump-aws-smith... c4895bf +/-
crates/client/src/sink.rs 97% 96% -1%
crates/node/src/dht/publish.rs 92% 92% 0%
crates/client/src/lib.rs 92% 92% 0%
crates/client/src/streamer.rs 91% 91% 0%
crates/protocol/src/framing.rs 97% 97% 0%
crates/client/s...c/connection.rs 97% 97% 0%

@thiras
thiras merged commit 461e726 into main Oct 5, 2026
32 checks passed
@thiras
thiras deleted the chore/bump-aws-smithy-json branch October 5, 2026 06:54
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.

2 participants