Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate tauri to 1.2.5 [security] #22

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 25, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
tauri (source) dependencies patch 1.2.4 -> 1.2.5

GitHub Vulnerability Alerts

CVE-2023-31134

Impact

The Tauri IPC is usually strictly isolated from external websites but the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect1.

This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands.

Patches

This issue has been patched in the latest release and was backported to all previous 1.x releases.

Workarounds

Prevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.

References

The feature to enable this behavior in a more constrained way was introduced in the 1.3 release and documentation around this can be found in the documentation.


Release Notes

tauri-apps/tauri (tauri)

v1.2.5: tauri v1.2.5

Compare Source

Updating crates.io index

Cargo Audit

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 543 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (470 crate dependencies)
Crate:     kuchiki
Version:   0.8.1
Warning:   unmaintained
Title:     `kuchiki` is unmaintained
Date:      2023-01-21
ID:        RUSTSEC-2023-0019
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0019
Dependency tree:
kuchiki 0.8.1
├── wry 0.23.4
│   └── tauri-runtime-wry 0.12.3
│       └── tauri 1.2.5
│           ├── tauri 1.2.5
│           ├── restart 0.1.0
│           └── app-updater 0.1.0
└── tauri-utils 1.2.1
    ├── tauri-runtime-wry 0.12.3
    ├── tauri-runtime 0.12.2
    │   ├── tauri-runtime-wry 0.12.3
    │   └── tauri 1.2.5
    ├── tauri-macros 1.2.1
    │   └── tauri 1.2.5
    ├── tauri-codegen 1.2.1
    │   ├── tauri-macros 1.2.1
    │   └── tauri-build 1.2.1
    │       └── app-updater 0.1.0
    ├── tauri-build 1.2.1
    ├── tauri 1.2.5
    └── config-schema 0.0.0

Crate:     atty
Version:   0.2.14
Warning:   unsound
Title:     Potential unaligned read
Date:      2021-07-04
ID:        RUSTSEC-2021-0145
URL:       https://rustsec.org/advisories/RUSTSEC-2021-0145
Dependency tree:
atty 0.2.14
├── colored 2.0.0
│   └── mockito 0.31.1
│       └── tauri 1.2.5
│           ├── tauri 1.2.5
│           ├── restart 0.1.0
│           └── app-updater 0.1.0
└── clap 3.2.25
    └── tauri 1.2.5

warning: 2 allowed warnings found

[1.2.5]

  • Block remote URLs from accessing the IPC.
    • 9c0593c33 feat(core): block remote URLs from accessing the IPC on 2023-04-12

Cargo Publish

Updating crates.io index
   Packaging tauri v1.2.5 (/home/runner/work/tauri/tauri/core/tauri)
   Verifying tauri v1.2.5 (/home/runner/work/tauri/tauri/core/tauri)
 Downloading crates ...
  Downloaded crypto-common v0.1.6
  Downloaded block-buffer v0.10.4
  Downloaded cpufeatures v0.2.7
  Downloaded alloc-no-stdlib v2.0.4
  Downloaded xattr v0.2.3
  Downloaded tauri-macros v1.2.1
  Downloaded futures-macro v0.3.28
  Downloaded same-file v1.0.6
  Downloaded serde_repr v0.1.12
  Downloaded fastrand v1.9.0
  Downloaded alloc-stdlib v0.2.2
  Downloaded filetime v0.2.21
  Downloaded sha2 v0.10.6
  Downloaded walkdir v2.3.3
  Downloaded signal-hook-registry v1.4.1
  Downloaded digest v0.10.6
  Downloaded serialize-to-javascript-impl v0.1.1
  Downloaded treediff v3.0.2
  Downloaded serialize-to-javascript v0.1.1
  Downloaded tauri-codegen v1.2.1
  Downloaded glob v0.3.1
  Downloaded generic-array v0.14.7
  Downloaded json-patch v0.2.7
  Downloaded globset v0.4.10
  Downloaded tokio-macros v2.1.0
  Downloaded ico v0.2.0
  Downloaded tar v0.4.38
  Downloaded tempfile v3.5.0
  Downloaded state v0.5.3
  Downloaded socket2 v0.4.9
  Downloaded typenum v1.16.0
  Downloaded mio v0.8.6
  Downloaded ignore v0.4.18
  Downloaded aho-corasick v0.7.20
  Downloaded bstr v1.4.0
  Downloaded libm v0.2.6
  Downloaded brotli-decompressor v2.3.4
  Downloaded tokio v1.28.0
  Downloaded tauri-runtime-wry v0.12.3
  Downloaded encoding_rs v0.8.32
  Downloaded brotli v3.3.4
   Compiling proc-macro2 v1.0.56
   Compiling quote v1.0.26
   Compiling unicode-ident v1.0.8
   Compiling serde_derive v1.0.160
   Compiling syn v2.0.15
   Compiling serde v1.0.160
   Compiling autocfg v1.1.0
   Compiling libc v0.2.142
   Compiling smallvec v1.10.0
   Compiling pkg-config v0.3.27
   Compiling indexmap v1.9.3
   Compiling hashbrown v0.12.3
   Compiling heck v0.4.1
   Compiling winnow v0.4.6
   Compiling cfg-if v1.0.0
   Compiling target-lexicon v0.12.7
   Compiling cfg-expr v0.15.1
   Compiling version-compare v0.1.1
   Compiling syn v1.0.109
   Compiling toml_datetime v0.6.1
   Compiling serde_spanned v0.6.1
   Compiling toml_edit v0.19.8
   Compiling toml v0.7.3
   Compiling system-deps v6.0.5
   Compiling version_check v0.9.4
   Compiling once_cell v1.17.1
   Compiling glib-sys v0.15.10
   Compiling gobject-sys v0.15.10
   Compiling bitflags v1.3.2
   Compiling ppv-lite86 v0.2.17
   Compiling siphasher v0.3.10
   Compiling getrandom v0.1.16
   Compiling getrandom v0.2.9
   Compiling thiserror v1.0.40
   Compiling rand_core v0.5.1
   Compiling proc-macro-error-attr v1.0.4
   Compiling thiserror-impl v1.0.40
   Compiling futures-core v0.3.28
   Compiling rand_chacha v0.2.2
   Compiling rand_pcg v0.2.1
   Compiling proc-macro-error v1.0.4
   Compiling slab v0.4.8
   Compiling anyhow v1.0.71
   Compiling futures-task v0.3.28
   Compiling rand v0.7.3
   Compiling phf_shared v0.8.0
   Compiling gio-sys v0.15.10
   Compiling gdk-sys v0.15.1
   Compiling pin-project-lite v0.2.9
   Compiling futures-util v0.3.28
   Compiling phf_generator v0.8.0
   Compiling proc-macro-crate v1.3.1
   Compiling futures-macro v0.3.28
   Compiling pin-utils v0.1.0
   Compiling log v0.4.17
   Compiling futures-channel v0.3.28
   Compiling rand_core v0.6.4
   Compiling proc-macro-hack v0.5.20+deprecated
   Compiling unicode-segmentation v1.10.1
   Compiling fnv v1.0.7
   Compiling futures-executor v0.3.28
   Compiling heck v0.3.3
   Compiling rand_chacha v0.3.1
   Compiling glib-macros v0.15.13
   Compiling phf_shared v0.10.0
   Compiling atk-sys v0.15.1
   Compiling toml v0.5.11
   Compiling cfg-expr v0.9.1
   Compiling lock_api v0.4.9
   Compiling semver v1.0.17
   Compiling version-compare v0.0.11
   Compiling parking_lot_core v0.9.7
   Compiling system-deps v5.0.0
   Compiling glib v0.15.12
   Compiling rand v0.8.5
   Compiling gdk-pixbuf-sys v0.15.10
   Compiling pango-sys v0.15.10
   Compiling cairo-sys-rs v0.15.1
   Compiling scopeguard v1.1.0
   Compiling phf_generator v0.10.0
   Compiling phf_codegen v0.8.0
   Compiling serde_json v1.0.96
   Compiling memchr v2.5.0
   Compiling itoa v1.0.6
   Compiling parking_lot v0.12.1
   Compiling gtk-sys v0.15.3
   Compiling ryu v1.0.13
   Compiling phf_macros v0.8.0
   Compiling gio v0.15.12
   Compiling byteorder v1.4.3
   Compiling new_debug_unreachable v1.0.4
   Compiling phf v0.8.0
   Compiling string_cache_codegen v0.5.2
   Compiling tinyvec_macros v0.1.1
   Compiling ident_case v1.0.1
   Compiling futures-io v0.3.28
   Compiling precomputed-hash v0.1.1
   Compiling mac v0.1.1
   Compiling strsim v0.10.0
   Compiling simd-adler32 v0.3.5
   Compiling crc32fast v1.3.2
   Compiling darling_core v0.20.1
   Compiling futf v0.1.5
   Compiling markup5ever v0.10.1
   Compiling tinyvec v1.6.0
   Compiling rustc_version v0.4.0
   Compiling soup2-sys v0.2.0
   Compiling uuid v1.3.2
   Compiling cssparser v0.27.2
   Compiling memoffset v0.8.0
   Compiling typenum v1.16.0
   Compiling utf-8 v0.7.6
   Compiling adler v1.0.2
   Compiling dtoa v0.4.8
   Compiling dtoa-short v0.3.3
   Compiling miniz_oxide v0.7.1
   Compiling tendril v0.4.3
   Compiling field-offset v0.3.5
   Compiling unicode-normalization v0.1.22
   Compiling darling_macro v0.20.1
   Compiling string_cache v0.8.7
   Compiling selectors v0.22.0
   Compiling generic-array v0.14.7
   Compiling cssparser-macros v0.6.0
   Compiling html5ever v0.25.2
   Compiling nodrop v0.1.14
   Compiling stable_deref_trait v1.2.0
   Compiling alloc-no-stdlib v2.0.4
   Compiling convert_case v0.4.0
   Compiling percent-encoding v2.2.0
   Compiling unicode-bidi v0.3.13
   Compiling matches v0.1.10
   Compiling itoa v0.4.8
   Compiling idna v0.3.0
   Compiling form_urlencoded v1.1.0
   Compiling derive_more v0.99.17
   Compiling alloc-stdlib v0.2.2
   Compiling servo_arc v0.1.1
   Compiling flate2 v1.0.26
   Compiling darling v0.20.1
   Compiling gdk-pixbuf v0.15.11
   Compiling fdeflate v0.3.0
   Compiling fxhash v0.2.1
   Compiling cairo-rs v0.15.12
   Compiling pango v0.15.10
   Compiling javascriptcore-rs-sys v0.4.0
   Compiling gtk v0.15.5
   Compiling thin-slice v0.1.1
   Compiling same-file v1.0.6
   Compiling crossbeam-utils v0.8.15
   Compiling walkdir v2.3.3
   Compiling gdk v0.15.4
   Compiling png v0.17.8
   Compiling serde_with_macros v2.3.3
   Compiling brotli-decompressor v2.3.4
   Compiling url v2.3.1
   Compiling cfb v0.7.3
   Compiling atk v0.15.1
   Compiling treediff v4.0.2
   Compiling phf_macros v0.10.0
   Compiling gtk3-macros v0.15.6
   Compiling webkit2gtk-sys v0.18.0
   Compiling x11 v2.21.0
   Compiling phf v0.10.1
   Compiling json-patch v1.0.0
   Compiling infer v0.12.0
   Compiling brotli v3.3.4
   Compiling kuchiki v0.8.1
   Compiling serde_with v2.3.3
   Compiling gdkx11-sys v0.15.1
   Compiling ctor v0.1.26
   Compiling x11-dl v2.21.0
   Compiling cc v1.0.79
   Compiling glob v0.3.1
   Compiling bytes v1.4.0
   Compiling tauri-utils v1.3.0
   Compiling tao v0.15.8
   Compiling block-buffer v0.10.4
   Compiling crypto-common v0.1.6
   Compiling raw-window-handle v0.5.2
   Compiling lazy_static v1.4.0
   Compiling io-lifetimes v1.0.10
   Compiling digest v0.10.6
   Compiling http v0.2.9
   Compiling soup2 v0.2.1
   Compiling crossbeam-channel v0.5.8
   Compiling javascriptcore-rs v0.16.0
   Compiling aho-corasick v1.0.1
   Compiling treediff v3.0.2
   Compiling instant v0.1.12
   Compiling regex-syntax v0.7.1
   Compiling cpufeatures v0.2.7
   Compiling rustix v0.37.18
   Compiling wry v0.23.4
   Compiling tauri-runtime v0.12.2
   Compiling sha2 v0.10.6
   Compiling regex v1.8.1
   Compiling json-patch v0.2.7
   Compiling webkit2gtk v0.18.2
   Compiling ico v0.2.0
   Compiling aho-corasick v0.7.20
   Compiling bstr v1.4.0
   Compiling tokio v1.28.0
   Compiling base64 v0.13.1
   Compiling linux-raw-sys v0.3.6
   Compiling http-range v0.1.5
   Compiling tauri-runtime-wry v0.12.3
   Compiling tauri-codegen v1.2.1
   Compiling globset v0.4.10
   Compiling mio v0.8.6
   Compiling tauri v1.2.5 (/home/runner/work/tauri/tauri/target/package/tauri-1.2.5)
   Compiling thread_local v1.1.7
   Compiling serialize-to-javascript-impl v0.1.1
   Compiling filetime v0.2.21
   Compiling tokio-macros v2.1.0
   Compiling xattr v0.2.3
   Compiling num_cpus v1.15.0
   Compiling socket2 v0.4.9
   Compiling dirs-sys-next v0.1.2
   Compiling signal-hook-registry v1.4.1
   Compiling fastrand v1.9.0
   Compiling tempfile v3.5.0
   Compiling dirs-next v2.0.0
   Compiling tar v0.4.38
   Compiling serialize-to-javascript v0.1.1
   Compiling ignore v0.4.18
   Compiling tauri-macros v1.2.1
   Compiling encoding_rs v0.8.32
   Compiling serde_repr v0.1.12
   Compiling state v0.5.3
    Finished dev [unoptimized + debuginfo] target(s) in 2m 33s
    Packaged 71 files, 817.0KiB (190.9KiB compressed)
   Uploading tauri v1.2.5 (/home/runner/work/tauri/tauri/core/tauri)
    Updating crates.io index
     Waiting on `tauri` to propagate to crates.io index (ctrl-c to wait asynchronously)
    Updating crates.io index
    Updating crates.io index
    Updating crates.io index
    Updating crates.io index
    Updating crates.io index
    Updating crates.io index
    Updating crates.io index

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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. View repository job log here.

Footnotes

  1. https://en.wikipedia.org/wiki/Open_redirect

@oplik0 oplik0 merged commit 54c0411 into alpha Aug 25, 2023
2 checks passed
@renovate renovate bot deleted the renovate/crate-tauri-vulnerability branch August 25, 2023 19:48
github-actions bot pushed a commit that referenced this pull request Aug 25, 2023
# [1.0.0-alpha.26](v1.0.0-alpha.25...v1.0.0-alpha.26) (2023-08-25)

### Bug Fixes

* **deps:** update rust crate tauri to 1.2.5 [security] ([#22](#22)) ([54c0411](54c0411))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.0.0-alpha.26 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant