Описание
Security update for rustup
This update for rustup fixes the following issues:
- CVE-2024-12224: idna: idna accepts Punycode labels that do not produce any non-ASCII when decoded (bsc#1243862).
- CVE-2025-58160: tracing-subscriber: Tracing log pollution (bsc#1249008).
- CVE-2026-25541: bytes: integer overflow in 'BytesMut:reserve' can lead to undefined behavior and crashes (bsc#1274144).
- CVE-2026-25727: time: parsing of user-provided input by the RFC 2822 date parser can lead to stack exhaustion (bsc#1257902).
- CVE-2026-41676: openssl:
Deriver:deriveandPkeyCtxRef:derivecan overflow short buffers on OpenSSL 1.1.1 (bsc#1270186). - CVE-2026-41677: openssl: out-of-bounds read in PEM password callback when returning an oversized length in rust- openssl crate (bsc#1270619).
- CVE-2026-41678: openssl: incorrect bounds assertion in aes key wrap in rust-openssl crate (bsc#1270644).
- CVE-2026-41681: openssl: MdCtxRef::digest_final() writes past caller buffer with no length check in rust-openssl crate (bsc#1270795).
- CVE-2026-41898: openssl: unchecked callback-returned length in PSK and cookie generate trampolines can leak adjacent memory in rust-openssl crate (bsc#1270870).
- CVE-2026-42327: openssl: arbitrary code execution via specially crafted certificate in rust-openssl crate (bsc#1270521).
- CVE-2026-44662: openssl: heap buffer overflow when encrypting with AES key-wrap-with-padding in rust-openssl crate (bsc#1270874).
- CVE-2026-45784: openssl: out-of-bounds write in
CipherCtxRef::cipher_update_inplacefor AES-KW-PAD ciphers in rust- openssl crate (bsc#1270989). - CVE-2026-93599: rustls-webpki: panic via empty BIT STRING (bsc#1282217).
- CVE-2026-93600: rustls-webpki: name constraints URI validation bypass (bsc#1282217).
- CVE-2026-93601: rustls-webpki: name constraint bypass (bsc#1282217).
- CVE-2026-93602: rustls-webpki: CRL revocation check bypass (bsc#1282217).
- rust-shlex: Multiple issues involving quote API (RUSTSEC-2024-0006, GHSA-r7qv-8r2h-pg27) (bsc#1230032).
Changes for rustup:
- Update to version 1.29.1~0:
- dist(rustup-init/sh): update commit shasum in help string
- style(bin/rustup-init): reformat code
- docs(changelog): update for v1.29.1 stable release
- warn how to switch away from the deprecated complete profile
- fix(cli/help): fix wording in
rustup run --help - ci(docker/android): stop building OpenSSL
- refactor(cli/docs): use tracing for docs opening status messages
- refactor(self-update): rename Windows uninstall registry helpers
- feat(test): isolate Windows registry state per test
- docs(dev-guide): mention how to support new compilation targets
- Fix funding link
- chore(deps): lock file maintenance
- refactor(cli/self-update): move
current_install_opts()toInstallOpts::display() - refactor(cli/self-update): move
processout ofInstallOpts - fix(cli/self-update): postpone initialization of
Cfginsetup_mode - refactor(cli/self-update): take
Processincheck_existence_of_settings_file() - fix(settings): prevent creating new file with
SettingsFile::read_settings() - test(cli-inst-interactive): test file creation on cancelled installation
- refactor(toolchain/names): inline
validate()aliases intoFromStr - refactor(toolchain/names): rename
validate()tonormalize_name() - fix minor typos
- www: align copy icon
- refactor(toolchain/names)!: remove
try_from_str!() - refactor(toolchain/names)!: remove
from_variant!() - Add
rustup doc --serveto serve docs over local HTTP - Move doc() and man() into a new docs module
- chore(github): comment out instructions in PR template
- docs(dev-guide): reapply abandoned changes from #4970
- Add riscv64 unknown linux musl support
- fix(deps): update rust crate enum-map to v3
- refactor(cli/self-update)!: rename
install()toInstallOpts::install() - refactor(cli/self-update)!: rename
maybe_install_rust()toInstallOpts::install_rust() - refactor(cli/self-update)!: rename
InstallOpts::install()toInstallOpts::select_toolchain() - refactor(toolchain/names)!: make more clones during conversions explicit
- refactor(cli/self-update): move message templates to
mod msg - style(cli/self-update): reorganize imports
- Add pull request template linking to the dev guide
- doc: add AI policy to the dev guide
- ci(dist): ensure pushing to
dev-staticonstableupdate - test(toolchain): add a test case for
rustup toolchain install --override - feat(toolchain): add
--defaultflag torustup toolchain install - fix(toolchain): inline use of
set_override - Add Enzyme to the list of rustup components
- fix: repair toolchains without an installed manifest
- refactor: expose the installed manifest path
- Docs: Remove i686
set default-hostexample - fix(self-update): only remove complete profile lines
- chore(deps): bump
platformsto 4.1.0 - chore(deps): remove pinned
openssl-src - refactor: replace
cfg_if!{}withcfg_select!{} - fix: Lock state file updates
- Fix Rust 1.97 clippy warnings
- uninstalls toolchains prior to deleting the rustup home folder
- Take semver-compatible dependency updates
- Upgrade platforms to 4
- docs: update
CHANGELOGfor v1.29.1 - Lock file maintenance
- Remove Windows special case from
can_run - diskio: drop unnecessary constructor wrapper
- diskio: rename _IncrementalFileState to FileState
- diskio: inline IncrementalFileState type alias
- Minimize API visibility
- toolchain: streamline validate() implementations
- toolchain: avoid internal cloning
- dist: drop unused conversion impl
- dist: keep impls with type definitions
- Don't hide allocations inside From impls
- toolchain: drop impls for &String
- Warn on clippy::or_fun_call
- Warn on clippy::needless_by_ref_mut
- Warn on clippy::redundant_clone
- Warn on clippy::manual_let_else
- Warn on clippy::use_self
- errors: box ToolchainDesc in RustupError variants
- errors: box Manifest in RequestedComponentsUnavailable variant
- No (more) need to allow clippy::arc_with_non_send_sync
- Replace use of FnMut trait objects with custom trait
- test(cli/self-upd): use direct arg0 override for
as_rustup_setup() - chore(deps): update actions/cache action to v6
- ci(windows): add support for aarch64-pc-windows-gnullvm target
- ci(windows): refine MSVC/MINGW job step predicates
- chore(deps): update actions/checkout action to v7
- fix(deps): update rust crate itertools to 0.15
- fix(progress): use the
prefixplaceholder instead ofmsgfor component name - rustup: warn when no toolchain or default is configured
- errors: extract default stable hint
- feat(toolchain): make the "installed" text of a toolchain install green
- Add aarch64-unknown-freebsd
- chore: address linter warnings
- chore(deps): bump to semver-compatible versions
- Add funding links
- ci(docker/freebsd): bump
clangversion tofreebsd14 - ci(freebsd): use FreeBSD 14.0 for full CI
- chore(deps): update
curl - feat(cli/rustup-mode): warn about auto-installation in some subcommands
- refactor(config): accept
CfginEnsureInstalled::warn_auto_install() - test(cli/rustup-mode): test auto-installation on to-be-deprecated subcommand
- dist: move display_name() before other methods that it calls
- chore(gitignore): add .cargo/config.windows-cross.toml to gitignore
- docs(dev-guide): update platform-specific code guidance
- docs(dev-guide): mention rust-analyzer support for Windows-specific code on Unix
- docs(dev-guide): mention how to lint Windows-specific code on Unix
- chore(config): add example config for cross checking and rust-analyzer
- chore: add rust-analyzer example config
- Display the full names of targets not matching the host target tuple
- docs(dev-guide/tips-and-tricks): mention the
RUSTUP_FORCE_ARG0='rustup'cargo alias - build(cargo): add
cargoalias forRUSTUP_FORCE_ARG0='rustup' - docs: rename the repath helper variable
- Remove double buffering when extracting archives
- refactor(toolchain/distributable): return
EnsureInstalled<>fromDistributableToolchain::install() - docs(dev-guide/coding-standards): adapt style guide from rustls
- fix(deps): update opentelemetry
- feat(config): warn user if auto-install is enabled
- refactor(config): return
EnsureInstalled<>from more functions - refactor(config): extract
EnsureInstalled<>wrapper type - test: make tests agnostic to external
RUSTUP_AUTO_INSTALLandRUST_RECURSION_COUNT - test(dist): fail v2 manifest update when manifest disagrees with .sha256
- fix(dist): propagate v2 manifest checksum failure instead of reporting "unchanged"
- Align shell setup comments in install message
- feat(cli/self-update): refine wording of "already installed Rust" warning
- chore(settings): rename default_host_triple to default_host_tuple and alias old name
- chore(settings): add test to parse default_host_triple in toml
- test(download): also scrub
HTTP_PROXYinscrub_env() - chore: document legacy default host setting
- chore: rename internal tuple constants
- chore: rename partially "Triple" to "Tuple" to reflect the new terminology
- fix(cli/rustup-mode)!: complete
rustup showif active toolchain is not installed - refactor(cli/rustup-mode): postpone eval of
active_toolchain_targetsinshow() - refactor(cli/rustup-mode): postpone eval of
active_toolchaininshow() - refactor(cli/rustup-mode): reduce rightward drift in
show() - refactor(cli/rustup-mode): refine usage of
stdoutterm and locks inshow() - feat(config): add
Cfgfield to force-disable auto-installation - Provide --yes alias for -y flag consistently
- refactor(tests): rename triple to tuple
- refactor: bulk rename triple to ruple
- refactor: rename get_default_host_triple to default_host_tuple
- test(download): support more feature flag combinations
- docs: fix the FileBuffer::clear doc comment wording
- docs: fix plural of VM in coding standards
- fix(dist): bulk rename triple to tuple for variables and messages
- refactor(dist): rename PartialTargetTriple to PartialTargetTuple
- refactor(dist): rename triple module to target_tuple
- refactor: remove PartialToochainDesc::has_triple() in favor to PartialTargetTriple::is_empty()
- refactor(dist): rename TargetTriple to TargetTuple
- fix(self-update): rename triple to tuple in self_update
- dist: bump
rustupversion to v1.29.1 - ci(linux/x64-musl): install missing libc dependencies
- fix(tests): rename HOST_TRIPLE placeholder to HOST_TUPLE
- fix(tests): rename this_host_triple() to this_host_tuple()
- fix(init): rename triple to tuple to reflect the new terminology
- fix(docs): rename triple to tuple to reflect the new terminology
- chore(deps): update ubuntu docker tag to v26
- Improve error message for incomplete toolchains
- chore(deps): update bwoodsend/setup-winlibs-action action to v1.16
- test(dist/manifest): use the reordered fixture in
manifest_serialized_with_sorted_keys - docs: fix "initial" spelling in stylesheet variable
- ci: powerpc64-unknown-linux-musl is now stable
- style(cli/rustup-mode): address clippy warnings
- docs(dev-guide): update release process with new backporting flow
- docs: fix actions template README typo
- Only show post-install instructions for currently installed shells
- docs: fix Windows MSVC guide typo
- Upgrade to rustls-platform-verifier 0.7
- Make component removal best-effort and preserve single-error behavior
- Use
cc-rsto detect the default linker, instead of assumingcc - ci(test): add
workflow_dispatchtrigger on par withschedule - ci: fix incorrect
contains()predicate - fix(dist/manifestation): fix log format when installing exactly 2 components
- Allow rustup component add to install multiple components in one update #4787
- fix(docs): correct link to
no-self-updatefeature - ci: enable on all PR target branches
- ci(backport): rename backport branches to
release/* - feat(toolchain): run a pre-check before updating all toolchains
- feat(install): accept an optional pre-fetched manifest when installing
- fix(toolchain): extract manifest fetching out of
show_dist_version() - fix(manifest): aggregate a manifest and its hash in a
ManifestWithHashstruct - fix: Reduce flickering by using
set_move_cursor - ci(backport): add support for backporting
- fix: install message misalignment.
- refactor: extracted
progress_stylemethod for DownloadStatus - fix(deps): update rust crate sha2 to 0.11
- chore(doc): Added comments for clarify the usage of
Component::nameManifest::nameand theshort_namefuncc accordingly. - refactor: Rename
Component'sname_in_manifesttonameandshort_nameaccordingly - self_update: show path to executable in case of updater failure
- Revert "fix(ci/freebsd): install ca certs to prevent certificate-related issues"
- ci: don't install protoc
- Update to mdbook 0.5
- ci(all-features): bump protoc version
- fix(dist/manifestation): use full toolchain name in
Update::unavailable_components() - style(dist/manifestation): merge imports
- Fix zsh completion showing all PATH entries for +toolchain arg
- fix(cli/proxy-mode): stop enforcing
quiet: true - chore(deps/freebsd): downgrade
libz-systo v1.1.24 - fix(ci/freebsd): install ca certs to prevent certificate-related issues
- fix(rustup-init/sh): prevent passing
--default-hosttwice - Avoid warning about the existence of a
settings.tomlon a fresh install - use tuple instead of triple for env overrides
- Take platforms 3.9.0
- Unpin tracing-subcriber
- chore(deps): update
aws-lc-rsandaws-lc-sys - docs(changelog): update release date for v1.29.0
- docs(dev-guide/release-process): mention the CfT blog post
- docs(changelog): update for v1.29.0 stable release
- fix(cli): Style CLI errors in init mode
- test: Add unknown arg init test
- chore(deps): update actions/upload-artifact action to v7
- refactor(www): simplify instruction css selector
- feat(www): make copy button dark mode-aware
- feat(www): move feedback text out of copy button
- fix(www): apply filter to rust logo
- feat(www): add dark mode
- refactor(www): extract css variables
- fix(cli/self-update): enforce a newline after
check_updates() - refactor(cli/self-update): extract
has_progress_barsincheck_updates() - fix(cli/self-update): unify
check_*update*()'s message formats - docs(downloads): fix the default number of
RUSTUP_CONCURRENT_DOWNLOADS - feat(toolchain): add
--overrideto override toolchain as soon as installed - fix(toolchain): improve logs when recovering from an interrupted installation
- chore(deps): downgrade
openssl-srcto 300.5.4+3.5.4 - style(download): clean up imports
- fix(diskio): fall back to single-threaded unpacking when
ram_budget< 512MB to avoid OOM on memory-constrained systems - test(downloads): check if an error is thrown if the server does not honor range
- fix(downloads): check correct response when resuming from partial (reqwest)
- fix(downloads): check correct response when resuming from partial (curl)
- fix(deps): update rust crate toml to v1
- fix(dist/manifest): sort keys when serializing
Manifest - hack(ci/linux): disable BuildKit when building local images
- chore(ci): use more distinctive local image names
- Upgrade rand to 0.10
- Upgrade snapbox to 1
- Upgrade to anstream 1
- fix(downloads): adjust error message for partial files in network failures
- test(downloads): ensure that partial files are not removed when network fails
- feat(downloads): do not delete partial download when network fails
- fix(downloads): substitute
DEKalias forDownloadError - chore(deps): update aws-actions/configure-aws-credentials action to v6
- cli: introduce semantic exit code constants for rustup check
- Add missing Windows SDK instructions
- Add winget instructions to MSVC install page
- Remove nu-string-interpolation
$ - Replace $nu.home-path with ~
- feat(cli/rustup-mode): add "Exit status" section to
rustup check --help - Add common commands section in help text
- fix(cli/rustup-mode): improve exit code of
rustup check - refactor(test)!: pass status code directly to
SanitizedOutput - Add powerpc64-unknown-linux-musl support
- fix: add copy_file_symlink_to_source for self-installation
- fix: preserve symlinks in copy_dir instead of following them
- feat(cli/rustup-mode): add
doc --rustc-docsto open rustdoc for Rust internals - Remove the mixed singular/plural phrasing as "component(s)" instead, use "components" or "component". In the singular case also add the name of the component for more consistent messaging style with other info! outputs about single components.
- fix(cli/rustup-mode):
checkfor self updates forSelfUpdateMode::CheckOnly - test: Add test for sequential multi-toolchain uninstall
- fix: directory removal race condition in toolchain uninstall
- test(cli_v2): test error when missing many components on install
- fix(dist): adjust printed newlines in
components_missing_msg() - unified nightly disclaimer wording/styling; preserved distinct messages per scenario
- Upgrade to reqwest 0.13
- change test name to match new terminology
- rename file to match new terminology
- change 'target triple' to 'target tuple'
- fix(toolchain): forbid toolchain names starting with +
- cli: add
doc --releasesto open release notes - chore(deps): update actions/upload-artifact action to v6
- chore(deps): update actions/cache action to v5
- dist: use more concise API in helper function
- dist: inline more logic into helper function
- dist: give helper function a more meaningful name
- dist: move helper function closer to usage site
- docs(dev-guide): mention snapshot updating in release process
- fix(toolchain): avoid unwrapping when parsing a toolchain name
- fix(toolchain): change regex to reject leading zeros in toolchain name
- docs(changelog): update for v1.29.0 beta release
- dist: bump
rustupversion to v1.29.0 - docs(changelog): add missing link references
- test(static-roots): use a more compact syntax for raw binaries
- test(static-roots): return
Resultfromstore_static_roots() - download: statically bundle relevant trust anchors
- Added xonsh support
- refactor(dist/manifestation): remove redundant redeclarations
- docs(dist/download): remove outdated note on concurrent download progress reporting
- fix(dist/download): align
total_bytesfields in progress reporting UI - fix: default to GNU host in Cygwin/MSYS/MinGW environments (#4221)
- chore(config): remove redundant imports
- fix(dist/manifestation): print "downloading component" only on
InstallEvents - fix(utils): downgrade panic to warning in
delete_dir_contents_following_links() - chore(deps): update actions/checkout action to v6
- Prepare for mdbook 0.5 migration
- dist: make installation asynchronous
- dist: make installations 'static
- dist: take ownership of Manifestation
- dist: store owned temp::Context in Transaction
- dist: store temp::Context in DownloadCfg
- dist: align progress bar elements
- dist: track progress during unpacking
- utils: drop unused reader tracking
- process: fix refresh rate for progress bars
- process: reduce duplication in ProgressDrawTarget setup
- Yield references from Manifest::short_name()
- Move Component name helpers to Manifest
- dist: simplify ComponentBinary construction
- dist: hoist creation of io_executor some more
- Move unpack_ram() from dist to diskio
- dist: hoist Executor creation up
- dist: inline effective RAM limit calculation
- dist: hoist environment variable extraction
- dist: use logging for missing parent warnings
- dist: clarify dependency on unpack RAM budget
- diskio: clarify dependency on I/O thread count
- dist: transfer ownership of component values
- dist: take ownership of existing Components
- dist: take ownership of toolchain name in update()
- dist: take ownership of manifest in update()
- dist: derive trivial initialization for Update
- dist: rename Update::build_update() to new()
- dist: linearize for-loop in Update::build_update()
- dist: inline single-use function
- dist: inline trivial helper function
- dist: inline single-use tranaction change helpers
- dist: store specific config bit in Transaction
- chore(config): migrate config .github/renovate.json
- dist: attach manifest download functions to DownloadCfg
- rustup: unhide top-level install/uninstall commands
- dist: move update_from_dist() to DistOptions::install_into()
- Be more consistent about aliases for different subcommands
- test: add test for
rustup toolchain install --no-update - feat(rustup-mode): add
no_updateflag torustup toolchain install - cli: prepare DistOptions in advance
- dist: inline trivial wrapper function
- cli: inline single-use update_all_channels() helper
- config: simplify update_all_channels()
- dist: deduplicate DistOptions initialization
- dist: avoid recomputing dist root URL
- dist: simplify tracing instrumentation
- install: take ownership in InstallMethod::install()
- dist: move DistributableToolchain::install() up
- dist: clarify when update_hash is available
- cli: avoid dropped temporary
- Take semver-compatible dependencies
- dist: install while downloading
- dist: store more context in ComponentBinary
- dist: yield self when download is complete
- dist: move URL alteration logic into DownloadCfg method
- Apply suggestions from clippy 1.91
- refactor(check): Consolidate use_colors checks
- fix(check): Use Cargo's colors
- refactor(check): Make calls more consistent
- dist: drop another layer of abstraction
- dist: store package directory once
- dist: inline short single-use function
- dist: discard unnecessary abstraction layer
- chore(deps): update actions/upload-artifact action to v5
- fix(cli/rustup-mode): add missing self-update in
rustup toolchain install - refactor(cli/self-update): move
self_update()toSelfUpdateMode::update() - refactor(cli/rustup-mode): pass self-update predicates into
self_update() - refactor(cli/self-update): import
utils::ExitCode - rustup: tweak update check output style
- fix(list): Match show command's styling
- test(list): Add UI test
- fix(toolchain): Have 'list' match 'show's styling
- refactor(toolchain): Order logic by display order
- refactor(toolchain): Use string interpolation
- test(toolchain): Show list's behavior
- fix(update): Match 'cargo update's colors
- refactor(update): Centralize style knowledge
- test: Cover different show_channel_update cases
- fix(check): Subject check to RUSTUP_TERM_COLOR
- test(check): Show current style
- fix: Use HEADER styling in 'rustup show'
- chore: Update clap-cargo
- test: Demonstrate show's behavior
- test(process): Allow forcing color on
- test(process): Ensure non-locked writes are stripped of ANSI escape codes
- cli: update
uninstall_removes_source_from_rcsto mirroruninstall_doesnt_modify_rcs_with_no_modify_path - cli: add tests for
rustup self uninstall --no-modify-path - cli: add
rustup self uninstall --no-modify-path - cli: add help text for
rustup self uninstall -y - fix(cli/help): change indentation of discussions to 2 spaces
- fix(cli/help): adjust help text for
rustup install - feat(cli/help): add toolchain install tips to
rustup update's discussion - feat(cli/help): discuss
rustup toolchain install - style: Remove wildcard imports
- progress: modify progress bar's states to be column-aligned
- installations: handle installation of components through progress bars
- feat(cli): Add a sub-heading style for 'completion' Help Discussion
- feat(cli): Have Help Discussions match rest of CLI Help
- feat(cli): Add color to clap help/errors
- refactor(cli): Switch help text to functions
- cli: propagate ActiveSource from the top
- cli: upgrade error events to ERROR level
- cli: inline Cfg::active_rustc_version()
- cli: extract display_version() from rustup main()
- cli: inline Cfg::resolve_local_toolchain()
- cli: inline Cfg::resolve_toolchain()
- config: extract setting of toolchain override in rustup help mode
- cli: avoid Cfg construction indirection
- config: privatize some Cfg fields
- config: drop trivial Cfg setters
- Expand
RUSTUP_TOOLCHAIN_SOURCE's documentation - refactor(installation): extract installation of a component into a separate function
- bin: clean up imports
- cli: rename CLIError to CliError
- config: rename OverrideDB to OverrideDb
- dist: clean up unnecessary qualification
- test: Replace trycmd with snapbox
- chore: Update snapbox
- Update the default Windows SDK version
- refactor(log): Single source RUSTUP_TERM_COLOR
- style: Encourage using existing imports
- process: avoid fine-grained locking for logs
- process: discard unnecessary layer of synchronization
- process: inline TerminalInnerLocked
- process: replace unsafe code with safe equivalent
- process: extract color_choice() method
- process: extract is_a_tty value
- process: inline StreamSelector::is_a_tty()
- process: inline TestWriterLock
- Implement
RUSTUP_TOOLCHAIN_SOURCEwith newDisplayimpl - Move
Displayimpl toto_reason() - Rename
ActiveReasontoActiveSource - dist: simplify DownloadStatus setup
- dist: decentralize download status
- dist: postpone creation of ComponentBinary values
- dist: extract DownloadStatus type
- dist: call DownloadTracker methods directly
- dist: drop unnecessary Notifier layer
- dist: replace PackageContext with DownloadCfg
- refactor: Directly apply styling
- refactor: Don't bother grabbing lock for tests
- refactor: Replace termcolor with anstream
- refactor: Move style building out of ColorableTerminal
- refactor: Migrate to anstyle for color definitions
- fix(www): removes www subdomain from all rust-lang.org urls
- dist: move Notification into dist::download
- notifications: remove unused Display impl
- dist: move Notifier into DownloadCfg
- cli: build Cfg earlier in setup mode
- dist: reuse existing DownloadCfg in update_v1()
- dist: move dist_root out of DownloadCfg
- dist: drop unused Clone derives
- dist: drop Copy derive from DownloadCfg
- dist: move Notifier and DownloadTracker into dist::download
- dist: inline DownloadCfg test setup
- download: move File items down
- download: extract DownloadCfg initialization from Cfg
- config: discard pointless method argument
- cli: rename DownloadTracker::new_with_display_progress() to new()
- notifications: log directly from DownloadTracker
- notifications: log directly on bad download checksums
- notifications: log directly when reusing downloaded files
- notifications: log directly on buffer size changes
- Update platforms to 3.7.0
- notifications: log directly on duplicate toolchain files
- notifications: log directly on metadata upgrades that remove toolchains
- notifications: log directly when reading metadata version
- notifications: log directly when metadata upgrade is not needed
- notifications: log directly when upgrading metadata version
- notifications: log directly when uninstalling toolchains
- notifications: log directly when toolchain is up to date
- notifications: log directly when toolchain has been installed
- notifications: log directly when installing toolchains
- notifications: log the toolchain directory directly
- notifications: log directly when using existing toolchains
- notifications: log directly when looking for toolchains
- notifications: log directly when setting auto-self-update mode
- notifications: log directly when setting profile
- notifications: log directly when setting overrides
- notifications: use human-friendly log format for temp file deletions
- notifications: use human-friendly log format for directory deletions
- notifications: use human-friendly log format for retrying renames
- notifications: use human-friendly log format for path canonicalization
- cli: drop unnecessary generics
- process: import instead of qualifying ColorableTerminal
- process: hide internal structure
- process: don't re-export external items
- process: rename terminalsource to terminal_source
- process: rename filesource to file_source
- process: re-order items in terminalsource module
- feat(cli/self-update): add support for PowerShell on Unix systems
- refactor: Remove unused traits
- refactor: Directly use ColorableTerminal
- refactor: Simplify working with ColorableTerminal
- fix(process): Ensure stdout/stderr lock is held across calls
- refactor(process): Centralize Write bookkeeping
- docs(changelog): describe default profile change during auto-install
- Fix typo in clitools.rs comment
- ci(docs): fix local doc branch name
- Move the default branch from
mastertomain - Upgrade opentelemetry dependencies
- ci: use macOS Intel runners
- notifications: log directly when setting the default toolchain
- notifications: log directly when setting auto install mode
- notifications: log directly when resuming partial downloads
- notifications: log directly when downloading files
- notifications: log directly when removing stray hash files
- notifications: log directly when skipping components
- notifications: log directly on missing components
- notifications: log directly when downloading legacy manifests
- notifications: log directly for downloaded manifests
- notifications: log directly for manifest downloads
- notifications: log directly when removing components
- notifications: log directly when installing components
- notifications: log directly after failing to determine memory limit
- notifications: log directly when hash file not found
- notifications: log directly when failing to update hash file
- notifications: log directly when component is already installed
- notifications: log directly for valid checksums
- notifications: log directly when using download backends
- chore: avoid trailing whitespace in error message
- refactor: Switch logging to anstyle
- refactor: Remove unused ColorableTerminal::carriage_return
- notifications: privatize Notification type
- notifications: log directly on creating temp files
- notifications: log directly on temp root creation
- notifications: log directly on file deletions
- notifications: log directly on directory deletions
- notifications: log directly about non-fatal errors
- notifications: log directly about rolling back changes
- notifications: log directly for retrying renames
- notifications: log directly when removing directories
- notifications: log directly when copying directories
- notifications: log directly when linking directories
- notifications: log directly when path canonicalization fails
- notifications: log directly when creating directories
- tests: use DistContext for dist::components tests
- tests: move DistContext into library
- tests: deduplicate distribution installation tests
- notifications: tweak style
- Inline utils Notification variants into top-level Notification
- Inline dist Notification variants into top-level Notification
- Inline dist::temp::Notification variants into top-level Notification
- dist: remove temp::Notification variant from dist::Notification
- dist: extract URL alteration from download() method
- dist: detach download_component() from Manifestation
- dist: introduce ComponentBinary type
- dist: avoid passing through arguments
- dist: avoid unnecessary type annotations
- dist: avoid cloning components Vec
- refactor: remove redundant references
- dist: simpify casting to trait object
- dist: deduplicate decompression setup code
- cli: move more self update logic into self_update module
- refactor(dist/manifestation): remove redundant
.to_string() - Remove unneeded paranthesees
- Fix link in the bug reporting template
- ci(all-features/windows): update
OPENSSL_LIB_DIRfor OpenSSL v3 compatibility - docs(dev-guide): improve suggestion for overriding arg0
- docs(dev-guide): mention the arg0 override trick on welcome page
- docs(README): link CI status badge to GitHub Actions panel
- feat(dist/manifestation): adjust default concurrent downloads when installing toolchains
- feat(cli/rustup-mode): check updates for all channels unless
RUSTUP_CONCURRENT_DOWNLOADSis set to 1 - refactor: rename
num_channelstoconcurrent_downloads - fix: fix hang by preventing
stream.buffered(0)in concurrent downloads - test(dist/manifestation): extract
TestContext::*with_env() - refactor(download): use
NonZeroinstead ofNonZeroU64 - refactor(process): remove redundant
.context()inProcess::concurrent_downloads() - chore(deps/renovate): group version bumps for
windows-rscrates - Upgrade windows crates
- fix(cli/rustup_mode): use ASCII-compatible spinner
- chore(deps): update aws-actions/configure-aws-credentials action to v5
- feat(install): warn if default linker (cc) is missing; add respective test case
- Remove hardcoded dependency to the master branch
- feat(downloads): delay the reappearance of the progress bar when retrying a download
- fix(downloads): correct faulty behavior when a download fails
- fix(downloads): correct faulty output when retrying a download
- feat(self_update): add tcsh shell support to cli #3413
- Replace non_empty_env_var() with Process::var_opt()
- fix(downloads): report real elapsed time of a component downloads instead of cumulative
- Treat empty environment variables as unset
- fix(downloads): honor the RUSTUP_CONCURRENT_DOWNLOADS by always having "n" concurrent downloads
- chore(deps): disable default features for zstd
- feat(downloads): introduce
RUSTUP_CONCURRENT_DOWNLOADSto control concurrency - ci(check): make installation of
taplo-clifaster - fix(notifications): delete unnecessary Download(Pop/Push)Unit notifications
- fix(downloads): extract closure for downloading a component into a separate function
- feat(downloads): concurrently download components
- fix(downloads): add a comment to justify the unwrap on
.get()ofOnceLock - chore(deps): update actions/checkout action to v5
- fix(download_timeout): introduce RUSTUP_DOWNLOAD_TIMEOUT for overriding download timeout
- fix(downloads): substitute the LazyLock for a OnceLock
- feat(rustup_mode): revise help message
- feat: improve error message for
rustup which - test: detach snapshots from component installation order
- feat(download_tracker): refactor in favor of
indicatif - feat(process): create a
ProgressDrawTarget(forindicatif) inside theProcess - fix(rustup-init/sh): avoid
hw.optional.*: 1stdout in macOS arch check - hack(cli/common): suppress host emulation warnings in rustup's own CI
- fix(test/clitools): pass
RUSTUP_CIto in-process tests - ci(macos): run x64 workflows with Rosetta 2
- docs(user-guide/environment-variables): clarify the unit of
RUSTUP_UNPACK_RAM - docs(user-guide/environment-variables): unify description style
- docs(user-guide/environment-variables): update description of
RUSTUP_IO_THREADS - Limit Tokio worker threads to I/O thread count
- Use manual Tokio runtime setup
- Attach io_thread_count() to Process
- Always consider RUSTUP_IO_THREADS as input for thread count
- utils: express io_thread_count() in a simpler way
- opt(err): show renaming file error source
- Set a maximum thread limit for remove_dir_all
- fix(toolchain/distributable): refine handling of known targets with no prebuilt artifacts
- fix(ci/fetch-rust-docker): update comments
- fix(ci/docker): update
CCname forpowerpc64le-unknown-linux-gnu - Extract self_update() from update_all_channels()
- Show channel updates even if self update is not permitted
- Remove Cargo feature indirection
- Move Cfg::get_self_update_mode() to SelfUpdateMode::from_cfg()
- Replace trivial enum with bool
- feat(updates): introduce
RUSTUP_TERM_WIDTHto override terminal width - feat(updates): introduce
RUSTUP_TERM_PROGRESS_WHENto toggle the progress bars - Limit the default number of I/O threads
- Bump
tomlto 0.9 - feat(updates): check for updates concurrently
- feat(terminal): implement the
TermLiketrait forColorableTerminal - chore: use match ergonomics in favor of explicit
refs - refactor(download/curl): use early returns in
download() - chore(cli/rustup_mode): merge
stdimports - chore(cli/rustup-mode): import
std::io - chore: fix new
clippywarnings - fix(ci/run): specify target triple for
bindgen-cliinstallation - feat(www): improve "copy" button style compatibility with Chromium
- ci(run): install
codegen-cliwithcargo-binstall - docs: replace Discord links
- Block broken snap curl
- Upgrade to windows-sys 0.60
- Emphasize that
llvm-toolsdist component is not subject to compiler stability guarantees - docs(README): update CI status badge
- Fix rustup-init.sh cputype check for sparcv9
- add Solaris support
- test(clitools)!: remove all deprecated
.expect_*()APIs - test(clitools)!: privatize
Config::run() - test: migrate remaining uses of
.run()to.expect()APIs - test(clitools): extract
Assert::redact() - test: simplify
.display().to_string()in.extend_redactions() - test(cli_misc): bring back missing assertions
- Update help.rs: bash completions instructions (#1)
- docs(user-guide): fix typo
- docs(dev-guide): update the section on
clippylints - docs(dev-guide): mention test helpers and
Assert - docs(test/clitools): add docs for
Assert - Upgrade to rustls-platform-verifier 0.6
- test(cli-v2): migrate to
.expect()APIs - test(cli-misc): migrate to
.expect()APIs - fix(toolchain): fix proxy fallback notification format on Windows
- test(cli-v1): migrate to
.expect()APIs - test(download): serialize tests with proxy-sensitive URLs
- test(cli-rustup): migrate to
.expect()APIs - test(clitool): add
Assert::remove_redactions() - test(clitools): allow
OsStr-like args inConfig::expect*() - Fix CI image names for downloading ARM and PowerPC artifacts
- Update platforms to 3.6
- test(cli-exact): migrate to
.expect()APIs - Avoid swallowing errors in show()
- Simplify target processing logic
- Inline returned bindings
- Increase Windows main thread stack size to 2mb
- test(cli-inst-interactive): migrate to
.expect()APIs - Unset RUSTUP_AUTO_INSTALL for tests
- test(cli-paths): migrate to
.expect()APIs - test(cli-exact): use the new
[CURRENT_VERSION]redaction - test(cli-self-upd): migrate to
.expect()APIs - Tweak list_items() docstring
- Leverage bool::then_some() to simplify some code
- Avoid intermediate allocation in listing
- test(custom-toolchains):
target listnow can display the installed targets - feat(custom-toolchains):
targetandcomponent listworking on custom toolchains - Skip manifest loading if there are no components/targets to check
- fix(deps): update rust crate opener to 0.8.0
- rustup check: set exit status based on available updates
- rustup check: adopt no-self-update logic
- feat(self_update): add proxy sanity checks
- style(test): qualify uses of
snapbox::str![] - refactor(test): migrate some tests to
.expect()APIs - chore(test): deprecated old APIs overlapping with the new ones
- refactor(test): add new
.expect()-based testing APIs - test(custom-toolchains): using
showon a custom toolchain without acomponentsfile - test(custom-toolchains): add test to showcase that the issue was solved
- feat(custom-toolchains):
rustup shownow reporting installed targets - tests: print diffs on test failures
- Log versions during self updates
- Fix cargo lints on Windows
- toolchain: hoist binary name conditionals out of fallback functions
- refactor(test): replace
TempDir::into_path()withTempDir::keep() - refactor(test/clitools): use globally-defined
tempdir_in_with_prefix() - feat(toolchain): notify the user when proxy fallback is activated
- feat(toolchain): consider external
rust-analyzerwhen calling a proxy - refactor(toolchain): move predicates into
Toolchain::maybe_do_cargo_fallback() - refactor(toolchain): privatize
Toolchain::maybe_do_cargo_fallback() - deps: update aws-lc-rs to 1.13.1
- docs(changelog): mirror changes from the release announcement, take 2
- Deprecate native-tls as well
- Enable HTTP/2 support for reqwest download backend
- Emit tracing events from log facade calls
- download: show Debug representation for errors
- Avoid repeated globals in tracing events
- Log original download errors immediately
- feat(cli/rustup-mode): add aliases to
rustup component remove - Switch flate2 to use the zlib-rs backend
- Hardlink proxies if symlinks aren't reachable
- Add powerpc64le-unknown-linux-musl support
- Add toolchain_name to not installed bail msg
- Warn about using curl
- Drop workspace indirection
- Fold download crate back into rustup
- download: merge integration test files
- Test CARGO environment replacement
- Update CARGO env var if it is a rustup proxy
- Tweak toolchain subcommand help text
- Move toolchain and default commands first
- show toolchain paths in rustup show -v output
- refactor(cli/self-update): save allocations in
Nu::rcfiles() - fix(cli/self-update)!: stop appending to
env.nudue to deprecation - fix(cli/self-update): consider Windows paths in Nushell suggestions
- refactor(cli/self-update): use
path addinenv.nutemplate - fix(cli/self-update): use interpolated string in
env.nutemplate - Upgrade dependencies
- docs(user-guide/environment-variables): document
RUSTUP_VERSION - feat(rustup-init/sh): allow setting
RUSTUP_VERSIONduring installation - feat(cli/self-update): allow setting
RUSTUP_VERSIONfor arbitrary downgrades - feat(test/clitools): add
Config::expect_ok_ex_env() - fix(errors)!: improve error messages for
RustupError::ToolchainNotInstalled - Add set auto-install disable
- Use
cursor: pointerfor copy button on website - fix(dist): refine suggestions about missing targets
- Append Windows bin directory to PATH by default
- Remove validation for custom toolchains when reading rust-toolchain.toml
- document RUSTUP_AUTO_INSTALL
- Fix build script
cargoinstructions
Список пакетов
openSUSE Leap 16.0
Ссылки
- SUSE Security Ratings
- SUSE Bug 1230032
- SUSE Bug 1243862
- SUSE Bug 1249008
- SUSE Bug 1257902
- SUSE Bug 1270186
- SUSE Bug 1270521
- SUSE Bug 1270619
- SUSE Bug 1270644
- SUSE Bug 1270795
- SUSE Bug 1270870
- SUSE Bug 1270874
- SUSE Bug 1270989
- SUSE Bug 1274144
- SUSE Bug 1282217
- SUSE CVE CVE-2024-12224 page
- SUSE CVE CVE-2025-58160 page
- SUSE CVE CVE-2026-25541 page
- SUSE CVE CVE-2026-25727 page
- SUSE CVE CVE-2026-41676 page
Описание
Improper Validation of Unsafe Equivalence in punycode by the idna crate from Servo rust-url allows an attacker to create a punycode hostname that one part of a system might treat as distinct while another part of that system would treat as equivalent to another hostname.
Затронутые продукты
Ссылки
- CVE-2024-12224
- SUSE Bug 1243848
Описание
tracing is a framework for instrumenting Rust programs to collect structured, event-based diagnostic information. Prior to version 0.3.20, tracing-subscriber was vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to manipulate terminal title bars, clear screens or modify terminal display, and potentially mislead users through terminal manipulation. tracing-subscriber version 0.3.20 fixes this vulnerability by escaping ANSI control characters when writing events to destinations that may be printed to the terminal. A workaround involves avoiding printing logs to terminal emulators without escaping ANSI control sequences.
Затронутые продукты
Ссылки
- CVE-2025-58160
- SUSE Bug 1249007
Описание
Bytes is a utility library for working with bytes. From version 1.2.1 to before 1.11.1, Bytes is vulnerable to integer overflow in BytesMut::reserve. In the unique reclaim path of BytesMut::reserve, if the condition "v_capacity >= new_cap + offset" uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB. This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks. This issue has been patched in version 1.11.1.
Затронутые продукты
Ссылки
- CVE-2026-25541
- SUSE Bug 1271347
Описание
time provides date and time handling in Rust. From 0.3.6 to before 0.3.47, when user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario. A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.
Затронутые продукты
Ссылки
- CVE-2026-25727
- SUSE Bug 1257901
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.
Затронутые продукты
Ссылки
- CVE-2026-41676
- SUSE Bug 1270137
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate the length returned by the user's callback. A password callback that returns a value larger than the buffer it was given can cause some versions of OpenSSL to over-read this buffer. OpenSSL 3.x is not affected by this. This vulnerability is fixed in 0.10.78.
Затронутые продукты
Ссылки
- CVE-2026-41677
- SUSE Bug 1270540
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. This vulnerability is fixed in 0.10.78.
Затронутые продукты
Ссылки
- CVE-2026-41678
- SUSE Bug 1270641
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, EVP_DigestFinal() always writes EVP_MD_CTX_size(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digest_final() writes past its end, usually corrupting the stack. This is reachable from safe Rust. This vulnerability is fixed in 0.10.78.
Затронутые продукты
Ссылки
- CVE-2026-41681
- SUSE Bug 1270719
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder::set_psk_client_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb forwarded the user closure's returned usize directly to OpenSSL without checking it against the &mut [u8] that was handed to the closure. This can lead to buffer overflows and other unintended consequences. This vulnerability is fixed in 0.10.78.
Затронутые продукты
Ссылки
- CVE-2026-41898
- SUSE Bug 1270798
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.7 to before 0.10.79, X509Ref::ocsp_responders returns OCSP responder URLs from a certificate's AIA extension as OpensslString, whose Deref<Target = str> wraps the raw bytes with str::from_utf8_unchecked. OpenSSL does not enforce that the underlying IA5String is ASCII, so a certificate with non-UTF-8 bytes in its OCSP accessLocation causes safe Rust code to construct a &str that violates the UTF-8 invariant - resulting in undefined behavior. This vulnerability is fixed in 0.10.79.
Затронутые продукты
Ссылки
- CVE-2026-42327
- SUSE Bug 1270454
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.0 to before 0.10.79, CipherCtxRef::cipher_update, CipherCtxRef::cipher_update_vec, and symm::Crypter::update incorrectly sized output buffers when used with AES key-wrap-with-padding ciphers (EVP_aes_{128,192,256}_wrap_pad). For a non-multiple-of-8 input, OpenSSL writes up to 7 bytes past the end of the caller's buffer or Vec, producing attacker-controllable heap corruption when the plaintext length is attacker-influenced. This only impacts users using AES key-wrap-with-padding ciphers. This vulnerability is fixed in 0.10.79.
Затронутые продукты
Ссылки
- CVE-2026-44662
- SUSE Bug 1270872
- SUSE Bug 1271911
Описание
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.50 until 0.10.80, CipherCtxRef::cipher_update_inplace in openssl/src/cipher_ctx.rs incorrectly sized output buffers when used with AES key-wrap-with-padding ciphers EVP_aes_{128,192,256}_wrap_pad. For a non-multiple-of-8 input, OpenSSL writes up to 7 bytes past the end of the caller's buffer or Vec, producing attacker-controllable heap corruption when the plaintext length is attacker-influenced. This issue is fixed in version 0.10.80.
Затронутые продукты
Ссылки
- CVE-2026-45784
- SUSE Bug 1270946
Описание
rustls-webpki through 0.103.12 (and 0.104.0-alpha releases before 0.104.0-alpha.7) contains a reachable panic in bit_string_flags() in src/der.rs. The input guard fails to reject a named-bit BIT STRING whose content is exactly [0x00] (zero padding bits and no data bytes), so raw_bits.len() - 1 underflows on the empty slice and the subsequent index operation panics (subtract-with-overflow in debug, index-out-of-bounds in release). The condition is reachable through the public API BorrowedCertRevocationList::from_der() when a CRL contains an issuingDistributionPoint extension with such an onlySomeReasons value. Exploitation requires an application that explicitly opts in to CRL revocation checking by passing RevocationOptions to verify_for_usage() and that parses CRL bytes obtained from a source the attacker can influence; the default rustls configuration, which does not use RevocationOptions, is unaffected. A crafted CRL causes a denial of service via the panic. Fixed in 0.103.13 and 0.104.0-alpha.7.
Затронутые продукты
Ссылки
- CVE-2026-93599
- SUSE Bug 1282202
Описание
rustls-webpki (rustls/webpki) versions 0.101.0 through 0.103.11 and 0.104.0-alpha releases before 0.104.0-alpha.6 ignore X.509 name constraints that apply to URI names, causing such constraints to be accepted rather than enforced. Because name constraints are restrictions on otherwise properly issued certificates, the flaw is only reachable after successful signature verification and requires a misissued certificate to exploit; the library also provides no API for asserting URI names, and URI name constraints are otherwise unimplemented. Versions 0.103.12 and 0.104.0-alpha.6 reject URI name constraints unconditionally.
Затронутые продукты
Ссылки
- CVE-2026-93600
- SUSE Bug 1282202
Описание
rustls-webpki (the Rust webpki fork used by rustls) versions >= 0.101.0 and prior to 0.103.12 and 0.104.0-alpha.6 incorrectly accepted permitted-subtree DNS name constraints for certificates asserting a wildcard name. For example, a name constraint of accept.example.com was treated as satisfied by a certificate for *.example.com, which could feasibly assert reject.example.com - a name outside the permitted subtree. Because name constraints are restrictions applied to otherwise properly issued certificates, the issue is only reachable after signature verification succeeds and requires a misissued wildcard certificate to exploit.
Затронутые продукты
Ссылки
- CVE-2026-93601
- SUSE Bug 1282202
Описание
rustls-webpki versions before 0.103.10 and 0.104.0-alpha.5 contain faulty CRL authority-matching logic that compares only the first distributionPoint against each CRL's IssuingDistributionPoint, ignoring additional distributionPoints. Attackers with a compromised trusted issuing authority can present revoked certificates that pass revocation checks under UnknownStatusPolicy::Allow, or cause incorrect errors under the default deny policy.
Затронутые продукты
Ссылки
- CVE-2026-93602
- SUSE Bug 1282202