Update Rust crate cxx to v1.0.195 [SECURITY] #3

Open
renovate-bot wants to merge 1 commit from renovate/crate-cxx-vulnerability into main
Member

This PR contains the following updates:

Package Type Update Change
cxx (source) dependencies patch 1.0.194 → 1.0.195

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


let_cxx_string! uses uninitialized value due to exception safety violations

RUSTSEC-2026-0202

More information

Details

In affected versions of this crate, let_cxx_string! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitialized value.

The soundness issue was fixed in version 1.0.195 by moving drop logics to separate drop guard after initializing the StackString.

Severity

Unknown

References

This data is provided by OSV and the Rust Advisory Database (CC0 1.0).


Configuration

📅 Schedule: (in timezone Europe/Prague)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cxx](https://cxx.rs) ([source](https://github.com/dtolnay/cxx)) | dependencies | patch | `1.0.194` → `1.0.195` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/7) for more information. --- ### `let_cxx_string!` uses uninitialized value due to exception safety violations [RUSTSEC-2026-0202](https://rustsec.org/advisories/RUSTSEC-2026-0202.html) <details> <summary>More information</summary> #### Details In affected versions of this crate, `let_cxx_string!` is not exception safe. After creating the `StackString`, if `match $value` panics, the content of `StackString` is not yet initialized, while the drop implementation of `StackString` unconditionally deinitializes the content, leading to use of uninitialized value. The soundness issue was fixed in version `1.0.195` by moving drop logics to separate drop guard after initializing the `StackString`. #### Severity Unknown #### References - [https://crates.io/crates/cxx](https://crates.io/crates/cxx) - [https://rustsec.org/advisories/RUSTSEC-2026-0202.html](https://rustsec.org/advisories/RUSTSEC-2026-0202.html) - [https://github.com/dtolnay/cxx/issues/1729](https://github.com/dtolnay/cxx/issues/1729) This data is provided by [OSV](https://osv.dev/vulnerability/RUSTSEC-2026-0202) and the [Rust Advisory Database](https://github.com/RustSec/advisory-db) ([CC0 1.0](https://github.com/rustsec/advisory-db/blob/main/LICENSE.txt)). </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Prague) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjYuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE2Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJzZWN1cml0eSJdfQ==-->
Update Rust crate cxx to v1.0.195 [SECURITY]
Some checks failed
uniffi-swift.yml / Update Rust crate cxx to v1.0.195 [SECURITY] (push) Failing after 0s
uniffi-swift.yml / Update Rust crate cxx to v1.0.195 [SECURITY] (pull_request) Failing after 0s
Builds / Build (aarch64-pc-windows-msvc) (pull_request) Failing after 19s
Tests / Test (x86_64-pc-windows-msvc) (pull_request) Failing after 19s
Builds / Build (x86_64-pc-windows-msvc) (pull_request) Failing after 20s
Builds / Build (aarch64-apple-ios-sim) (pull_request) Failing after 9s
Builds / Build (aarch64-apple-darwin) (pull_request) Failing after 9s
Builds / Build (aarch64-apple-ios) (pull_request) Failing after 9s
Builds / Build (x86_64-apple-darwin) (pull_request) Failing after 10s
Tests / Test (aarch64-apple-darwin) (pull_request) Failing after 11s
Builds / Build (aarch64-linux-android) (pull_request) Failing after 21s
Builds / Build (armv7-linux-androideabi) (pull_request) Failing after 25s
Builds / Build (x86_64-unknown-linux-gnu) (pull_request) Failing after 27s
Changeset Check / Check for changeset (pull_request) Failing after 10s
Builds / Build (x86_64-linux-android) (pull_request) Failing after 20s
Generate FFI Proto (Node) / Generating protobuf (pull_request) Failing after 20s
License Check / License Check (pull_request) Successful in 7s
Rust Formatting / Check Formatting (pull_request) Successful in 42s
Test API / failover (pull_request) Failing after 51s
Tests / Test (x86_64-unknown-linux-gnu) (pull_request) Failing after 46s
Builds / Build (aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
c1c383575c
Generated by renovateBot
Some checks failed
uniffi-swift.yml / Update Rust crate cxx to v1.0.195 [SECURITY] (push) Failing after 0s
uniffi-swift.yml / Update Rust crate cxx to v1.0.195 [SECURITY] (pull_request) Failing after 0s
Builds / Build (aarch64-pc-windows-msvc) (pull_request) Failing after 19s
Tests / Test (x86_64-pc-windows-msvc) (pull_request) Failing after 19s
Builds / Build (x86_64-pc-windows-msvc) (pull_request) Failing after 20s
Builds / Build (aarch64-apple-ios-sim) (pull_request) Failing after 9s
Builds / Build (aarch64-apple-darwin) (pull_request) Failing after 9s
Builds / Build (aarch64-apple-ios) (pull_request) Failing after 9s
Builds / Build (x86_64-apple-darwin) (pull_request) Failing after 10s
Tests / Test (aarch64-apple-darwin) (pull_request) Failing after 11s
Builds / Build (aarch64-linux-android) (pull_request) Failing after 21s
Builds / Build (armv7-linux-androideabi) (pull_request) Failing after 25s
Builds / Build (x86_64-unknown-linux-gnu) (pull_request) Failing after 27s
Changeset Check / Check for changeset (pull_request) Failing after 10s
Builds / Build (x86_64-linux-android) (pull_request) Failing after 20s
Generate FFI Proto (Node) / Generating protobuf (pull_request) Failing after 20s
License Check / License Check (pull_request) Successful in 7s
Rust Formatting / Check Formatting (pull_request) Successful in 42s
Test API / failover (pull_request) Failing after 51s
Tests / Test (x86_64-unknown-linux-gnu) (pull_request) Failing after 46s
Builds / Build (aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/crate-cxx-vulnerability:renovate/crate-cxx-vulnerability
git switch renovate/crate-cxx-vulnerability

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/crate-cxx-vulnerability
git switch renovate/crate-cxx-vulnerability
git rebase main
git switch main
git merge --ff-only renovate/crate-cxx-vulnerability
git switch renovate/crate-cxx-vulnerability
git rebase main
git switch main
git merge --no-ff renovate/crate-cxx-vulnerability
git switch main
git merge --squash renovate/crate-cxx-vulnerability
git switch main
git merge --ff-only renovate/crate-cxx-vulnerability
git switch main
git merge renovate/crate-cxx-vulnerability
git push origin main
Sign in to join this conversation.
No description provided.