This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate azul-dll

Dependencies

(35 total, 1 possibly insecure)

CrateRequiredLatestStatus
 pyo3^0.27.10.27.1up to date
 log^0.4.170.4.28up to date
 pyo3-log^0.13.20.13.2up to date
 tfd^0.1.00.1.0up to date
 clipboard2^0.1.10.1.1up to date
 raw-window-handle^0.6.20.6.2up to date
 fern^0.7.10.7.1up to date
 backtrace^0.3.660.3.76up to date
 rust-fontconfig^1.0.31.0.3up to date
 strfmt^0.2.50.2.5up to date
 libm^0.2.20.2.15up to date
 gl-context-loader^0.1.80.1.9up to date
 once_cell^1.17.11.21.3up to date
 bitflags^2.8.02.10.0up to date
 cfg-if^1.01.0.4up to date
 regex ⚠️^11.12.2maybe insecure
 serde^1.01.0.228up to date
 serde_json^1.01.0.145up to date
 accesskit^0.21.10.21.1up to date
 libc^0.20.2.177up to date
 dbus^0.90.9.9up to date
 accesskit_unix^0.17.20.17.2up to date
 objc^0.20.2.7up to date
 objc-foundation^0.10.1.1up to date
 objc_id^0.10.1.1up to date
 winapi^0.3.90.3.9up to date
 accesskit_windows^0.29.20.29.2up to date
 cgl^0.3.20.3.2up to date
 dispatch2^0.3.00.3.0up to date
 objc2^0.6.00.6.3up to date
 block2^0.6.00.6.2up to date
 accesskit_macos^0.22.20.22.2up to date
 objc2-core-foundation^0.3.00.3.2up to date
 objc2-foundation^0.3.00.3.2up to date
 objc2-app-kit^0.3.00.3.2up to date

Crate azul-doc

Dependencies

(26 total, all up-to-date)

CrateRequiredLatestStatus
 serde^11.0.228up to date
 serde_derive^11.0.228up to date
 serde_json^11.0.145up to date
 anyhow^1.01.0.100up to date
 indexmap^2.122.12.0up to date
 cargo-license^0.7.00.7.0up to date
 cargo_metadata^0.23.00.23.0up to date
 zip^6.0.06.0.0up to date
 open^5.3.25.3.2up to date
 tempfile^3.19.13.23.0up to date
 comrak^0.47.00.47.0up to date
 chrono^0.4.400.4.42up to date
 image^0.250.25.8up to date
 base64^0.22.10.22.1up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 syn^2.0.1012.0.109up to date
 quote^1.0.401.0.42up to date
 ignore^0.4.230.4.25up to date
 regex^1.11.11.12.2up to date
 cargo_toml^0.22.10.22.3up to date
 proc-macro2^1.0.811.0.103up to date
 toml^0.9.80.9.8up to date
 rayon^1.101.11.0up to date
 walkdir^22.5.0up to date
 thiserror^2.02.0.17up to date
 once_cell^1.201.21.3up to date

Crate azul-layout

Dependencies

(21 total, 1 outdated)

CrateRequiredLatestStatus
 image^0.250.25.8up to date
 rust-fontconfig^1.0.31.0.3up to date
 accesskit^0.21.10.21.1up to date
 tinyvec^1.9.01.10.0up to date
 lyon^1.0.11.0.16up to date
 usvg^0.45.00.45.1up to date
 resvg^0.45.00.45.1up to date
 tiny-skia^0.11.40.11.4up to date
 geo-booleanop^0.3.20.3.2up to date
 geo^0.31.00.31.0up to date
 roxmltree^0.20.00.21.1out of date
 xmlwriter^0.1.00.1.0up to date
 xmlparser^0.13.60.13.6up to date
 gl-context-loader^0.1.80.1.9up to date
 unicode-bidi^0.3.180.3.18up to date
 thiserror^2.0.172.0.17up to date
 hyphenation^0.8.40.8.4up to date
 unicode-segmentation^1.12.01.12.0up to date
 unicode-normalization^0.1.240.1.25up to date
 lru^0.16.10.16.2up to date
 taffy^0.9.10.9.1up to date

Crate azul-core

Dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 libm^0.2.20.2.15up to date
 gl-context-loader^0.1.90.1.9up to date
 highway^1.3.01.3.0up to date
 rust-fontconfig^1.0.31.0.3up to date

Crate azul-css

Dependencies

(6 total, all up-to-date)

CrateRequiredLatestStatus
 libm^0.2.20.2.15up to date
 azul-simplecss^0.1.10.1.1up to date
 highway^1.31.3.0up to date
 dirs-next^2.02.0.0up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.145up to date

Crate webrender

Dependencies

(17 total, 1 possibly insecure)

CrateRequiredLatestStatus
 bincode^2.02.0.1up to date
 bitflags^22.10.0up to date
 byteorder^1.01.5.0up to date
 euclid^0.22.100.22.11up to date
 fxhash^0.2.10.2.1up to date
 lazy_static^11.5.0up to date
 log^0.40.4.28up to date
 num-traits^0.20.2.19up to date
 plane-split^0.180.18.0up to date
 rayon^11.11.0up to date
 smallvec ⚠️^11.15.1maybe insecure
 time^0.30.3.44up to date
 svg_fmt^0.40.4.5up to date
 derive_more^2.02.0.1up to date
 etagere^0.2.130.2.15up to date
 topological-sort^0.20.2.2up to date
 allocator-api2^0.3.10.3.1up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 mozangle^0.5.30.5.3up to date
 rand^0.90.9.2up to date

Build dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 build-parallel^0.1.20.1.2up to date
 glslopt^0.1.110.1.11up to date

Crate webrender_api

Dependencies

(9 total, all up-to-date)

CrateRequiredLatestStatus
 app_units^0.7.30.7.8up to date
 bitflags^22.10.0up to date
 byteorder^1.2.11.5.0up to date
 euclid^0.22.60.22.11up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 serde_bytes^0.110.11.19up to date
 time^0.30.3.44up to date
 crossbeam-channel^0.50.5.15up to date

Crate webrender_build

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 bitflags^22.10.0up to date
 lazy_static^11.5.0up to date
 serde^1.01.0.228up to date

Crate wr_azul_glyph_rasterizer

Dependencies

(8 total, 1 possibly insecure)

CrateRequiredLatestStatus
 euclid^0.22.100.22.11up to date
 rayon^11.11.0up to date
 smallvec ⚠️^11.15.1maybe insecure
 tracy-rs^0.1.20.1.2up to date
 log^0.40.4.28up to date
 lazy_static^11.5.0up to date
 fxhash^0.2.10.2.1up to date
 tiny-skia^0.110.11.4up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 env_logger^0.110.11.8up to date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

regex: Regexes with large repetitions on empty sub-expressions take a very long time to parse

RUSTSEC-2022-0013

The Rust Security Response WG was notified that the regex crate did not properly limit the complexity of the regular expressions (regex) it parses. An attacker could use this security issue to perform a denial of service, by sending a specially crafted regex to a service accepting untrusted regexes. No known vulnerability is present when parsing untrusted input with trusted regexes.

This issue has been assigned CVE-2022-24713. The severity of this vulnerability is "high" when the regex crate is used to parse untrusted regexes. Other uses of the regex crate are not affected by this vulnerability.

Overview

The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This guarantee is documented and it's considered part of the crate's API.

Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and it's possible to craft regexes that bypass such mitigations. This makes it possible to perform denial of service attacks by sending specially crafted regexes to services accepting user-controlled, untrusted regexes.

Affected versions

All versions of the regex crate before or equal to 1.5.4 are affected by this issue. The fix is include starting from regex 1.5.5.

Mitigations

We recommend everyone accepting user-controlled regexes to upgrade immediately to the latest version of the regex crate.

Unfortunately there is no fixed set of problematic regexes, as there are practically infinite regexes that could be crafted to exploit this vulnerability. Because of this, we do not recommend denying known problematic regexes.

Acknowledgements

We want to thank Addison Crump for responsibly disclosing this to us according to the Rust security policy, and for helping review the fix.

We also want to thank Andrew Gallant for developing the fix, and Pietro Albini for coordinating the disclosure and writing this advisory.