Skip to content

chore(deps): bump time from 0.3.41 to 0.3.47 in the cargo group across 1 directory#1

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cargo-19d6922b9f
Closed

chore(deps): bump time from 0.3.41 to 0.3.47 in the cargo group across 1 directory#1
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/cargo-19d6922b9f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown

Bumps the cargo group with 1 update in the / directory: time.

Updates time from 0.3.41 to 0.3.47

Release notes

Sourced from time's releases.

v0.3.47

See the changelog for details.

v0.3.46

See the changelog for details.

v0.3.45

See the changelog for details.

v0.3.44

See the changelog for details.

v0.3.43

See the changelog for details.

v0.3.42

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.47 [2026-02-05]

Security

  • The possibility of a stack exhaustion denial of service attack when parsing RFC 2822 has been eliminated. Previously, it was possible to craft input that would cause unbounded recursion. Now, the depth of the recursion is tracked, causing an error to be returned if it exceeds a reasonable limit.

    This attack vector requires parsing user-provided input, with any type, using the RFC 2822 format.

Compatibility

  • Attempting to format a value with a well-known format (i.e. RFC 3339, RFC 2822, or ISO 8601) will error at compile time if the type being formatted does not provide sufficient information. This would previously fail at runtime. Similarly, attempting to format a value with ISO 8601 that is only configured for parsing (i.e. Iso8601::PARSING) will error at compile time.

Added

  • Builder methods for format description modifiers, eliminating the need for verbose initialization when done manually.
  • date!(2026-W01-2) is now supported. Previously, a space was required between W and 01.
  • [end] now has a trailing_input modifier which can either be prohibit (the default) or discard. When it is discard, all remaining input is ignored. Note that if there are components after [end], they will still attempt to be parsed, likely resulting in an error.

Changed

  • More performance gains when parsing.

Fixed

  • If manually formatting a value, the number of bytes written was one short for some components. This has been fixed such that the number of bytes written is always correct.
  • The possibility of integer overflow when parsing an owned format description has been effectively eliminated. This would previously wrap when overflow checks were disabled. Instead of storing the depth as u8, it is stored as u32. This would require multiple gigabytes of nested input to overflow, at which point we've got other problems and trivial mitigations are available by downstream users.

0.3.46 [2026-01-23]

Added

  • All possible panics are now documented for the relevant methods.
  • The need to use #[serde(default)] when using custom serde formats is documented. This applies only when deserializing an Option<T>.
  • Duration::nanoseconds_i128 has been made public, mirroring std::time::Duration::from_nanos_u128.

... (truncated)

Commits
  • d5144cd v0.3.47 release
  • f6206b0 Guard against integer overflow in release mode
  • 1c63dc7 Avoid denial of service when parsing Rfc2822
  • 5940df6 Add builder methods to avoid verbose construction
  • 00881a4 Manually format macros everywhere
  • bb723b6 Add trailing_input modifier to end
  • 31c4f8e Permit W12 in date! macro
  • 490a17b Mark error paths in well-known formats as cold
  • 6cb1896 Optimize Rfc2822 parsing
  • 6d264d5 Remove erroneous #[inline(never)] attributes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the cargo group with 1 update in the / directory: [time](https://github.com/time-rs/time).


Updates `time` from 0.3.41 to 0.3.47
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.41...v0.3.47)

---
updated-dependencies:
- dependency-name: time
  dependency-version: 0.3.47
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Author

Looks like time is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 27, 2026
johnzilla added a commit that referenced this pull request Jun 24, 2026
…-review batch)

Dedicated security pass over the v2 HomeserverBlobStore + pubky_auth layer
(multi-agent adversarial review). Implements the fix-now findings; the
larger receive-large idempotency-ledger/flock is documented as a
pre-`--share` gate (THREAT-MODEL §10.1).

- HTTPS enforcement: HomeserverBlobStore::new now returns Result and rejects
  any non-https CIPHERPOST_HS (loopback http allowed for pubky-testnet), so
  the AuthToken + session cookie never traverse cleartext. (#1)
- Path/URL injection: validate the manifest `hash` is 64 lowercase-hex
  BEFORE it reaches the GET URL; cross-check the downloaded length against
  the signed `size` (and bytes against `hash`) — exit 3 on any mismatch, so
  the acceptance-screen size is a verified commitment. (#2, #3)
- tar hardening: untar_to now set_overwrite(false) (no silent clobber of
  receiver files) + entry-count/cumulative-size caps (tar-bomb / inode
  exhaustion). Containment (../, absolute, symlink-escape) was already
  enforced by tar 0.4.x validate_inside_dst (verified in source). (#4, #5)
- Least privilege: request /pub/cipherpost/:rw, not /:rw, so a leaked/
  replayed token is bounded to the blob prefix; fixed the stale /priv/ doc
  comment. Verified the scoped cap works live. (#6)
- Secrets: session cookie + AuthToken now held in Zeroizing buffers;
  cookie selection bounds length + rejects control chars. (#7)
- THREAT-MODEL §10.1 documents the residual cross-homeserver token replay
  (no audience binding — protocol-level), the signup/409 no-guarantee, and
  the receive-large idempotency/concurrency gap (pre-`--share`).

Tests: https rejection, is_blob_hash validation, untar overwrite-refusal.
Full feature suite green; live scoped-cap round-trip confirmed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants