Skip to content

fix: update bytes and time to resolve security advisories#79

Merged
jfernandez merged 1 commit intojfernandez:mainfrom
taylorcjensen:fix/update-vulnerable-dependencies
Apr 14, 2026
Merged

fix: update bytes and time to resolve security advisories#79
jfernandez merged 1 commit intojfernandez:mainfrom
taylorcjensen:fix/update-vulnerable-dependencies

Conversation

@taylorcjensen
Copy link
Copy Markdown
Contributor

Update Cargo.lock to pull in patched versions of two transitive dependencies with known vulnerabilities found by cargo audit:

Crate Old New Advisory Severity
bytes 1.10.1 1.11.1 RUSTSEC-2026-0007 -- integer overflow in BytesMut::reserve -
time 0.3.44 0.3.47 RUSTSEC-2026-0009 -- denial of service via stack exhaustion 6.8 (medium)

What changed: Cargo.lock only -- no Cargo.toml modifications. The existing version constraints already allow the patched versions, so cargo update bytes and cargo update time were sufficient.

Verification:

  • cargo build --release succeeds
  • cargo test -- 37 passed, 0 failed
  • cargo audit -- zero vulnerabilities

Update Cargo.lock to pull in patched versions of two transitive
dependencies with known vulnerabilities:

- bytes 1.10.1 -> 1.11.1 (RUSTSEC-2026-0007: integer overflow in
  BytesMut::reserve)
- time 0.3.44 -> 0.3.47 (RUSTSEC-2026-0009: denial of service via
  stack exhaustion, severity 6.8)

Both are lockfile-only changes — no Cargo.toml modifications needed
since the existing version constraints already allow the patched
versions. All 37 tests pass. cargo audit reports zero vulnerabilities
after this change.
@jfernandez jfernandez merged commit f84ae3e into jfernandez:main Apr 14, 2026
9 checks passed
Copy link
Copy Markdown
Owner

@jfernandez jfernandez left a comment

Choose a reason for hiding this comment

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

LGTM — clean lockfile-only update for two security advisories. No source changes, semver-compatible bumps. Ship it.

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