This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate surrealdb-core

Dependencies

(87 total, 43 outdated, 1 insecure)

CrateRequiredLatestStatus
 addr^0.15.60.15.6up to date
 ahash^0.8.110.8.12up to date
 arbitrary^1.3.21.5.0up to date
 argon2^0.5.20.6.0out of date
 any_ascii^0.3.20.3.3up to date
 async-recursion^1.0.51.2.0up to date
 base64^0.21.50.23.1out of date
 bcrypt^0.15.00.19.3out of date
 bincode^1.3.33.0.0out of date
 bytes^1.5.01.12.1up to date
 cedar-policy^2.4.24.14.1out of date
 async-channel^1.9.02.5.0out of date
 chrono^0.4.310.4.45up to date
 ciborium^0.2.10.2.2up to date
 dashmap^5.5.36.2.1out of date
 surrealdb-derive^0.12.00.12.0up to date
 deunicode^1.4.11.6.2up to date
 dmp^0.2.00.2.3up to date
 echodb^0.4.00.8.0out of date
 async-executor^1.8.01.14.1up to date
 ext-sort^0.1.40.1.6up to date
 foundationdb^0.8.00.11.0out of date
 fst^0.4.70.4.7up to date
 futures^0.3.290.3.34up to date
 fuzzy-matcher^0.3.70.3.7up to date
 geo^0.27.00.33.1out of date
 geo-types^0.7.120.7.20up to date
 hashbrown^0.14.50.17.1out of date
 hex^0.4.30.4.3up to date
 indxdb^0.4.00.12.0out of date
 ipnet^2.9.02.12.2up to date
 rquickjs^0.5.10.14.0out of date
 surrealdb-jsonwebtoken^8.3.0-surreal.1N/Aup to date
 lexicmp^0.1.00.2.0out of date
 linfa-linalg=0.1.00.2.1out of date
 md-5^0.10.60.11.0out of date
 nanoid^0.4.00.5.0out of date
 ndarray=0.15.60.17.2out of date
 ndarray-stats=0.5.10.7.0out of date
 nom^7.1.38.0.0out of date
 num-traits^0.2.180.2.19up to date
 num_cpus^1.16.01.17.0up to date
 object_store ⚠️^0.8.00.14.2insecure
 once_cell^1.18.01.21.4up to date
 pbkdf2^0.12.20.13.0out of date
 pharos^0.5.30.5.3up to date
 phf^0.11.20.14.0out of date
 pin-project-lite^0.2.130.2.17up to date
 quick_cache^0.4.00.7.0out of date
 radix_trie^0.2.10.3.0out of date
 rand^0.8.50.10.3out of date
 reblessive^0.3.00.4.3out of date
 regex^1.10.21.13.1up to date
 regex-syntax^0.8.20.8.11up to date
 reqwest^0.11.220.13.5out of date
 revision^0.7.00.30.0out of date
 ring^0.17.70.17.14up to date
 rmpv^1.0.11.3.1up to date
 roaring^0.10.20.12.0out of date
 rocksdb^0.21.00.25.0out of date
 rust-stemmers^1.2.01.2.0up to date
 rust_decimal^1.33.11.43.0up to date
 scrypt^0.11.00.12.0out of date
 semver^1.0.201.0.28up to date
 serde^1.0.1931.0.229up to date
 serde_json^1.0.1081.0.154up to date
 sha1^0.10.60.11.0out of date
 sha2^0.10.80.11.1out of date
 snap^1.1.01.1.2up to date
 speedb^0.0.40.0.5out of date
 storekey^0.5.00.11.0out of date
 surrealkv^0.1.51.3.0out of date
 surrealml-core^0.1.10.3.5out of date
 tempfile^3.10.13.27.0up to date
 thiserror^1.0.502.0.21out of date
 surrealdb-tikv-client^0.2.0-surreal.20.5.0out of date
 tokio^1.34.01.54.1up to date
 tokio-tungstenite^0.20.10.30.0out of date
 tracing^0.1.400.1.44up to date
 trice^0.4.00.4.0up to date
 ulid^1.1.03.0.0out of date
 unicase^2.7.02.10.0up to date
 url^2.5.02.5.8up to date
 uuid^1.6.11.29.2up to date
 wasm-bindgen-futures^0.4.390.4.80up to date
 wasmtimer^0.2.00.4.5out of date
 ws_stream_wasm^0.7.40.7.5up to date

Dev dependencies

(11 total, 6 outdated)

CrateRequiredLatestStatus
 criterion^0.5.10.8.2out of date
 env_logger^0.10.10.11.11out of date
 flate2^1.0.281.1.11up to date
 pprof^0.13.00.15.0out of date
 serial_test^2.0.04.0.1out of date
 temp-dir^0.1.110.2.0out of date
 test-log^0.2.130.2.21up to date
 time^0.3.300.3.55up to date
 tokio^1.34.01.54.1up to date
 tracing-subscriber^0.3.180.3.23up to date
 wiremock^0.5.220.6.5out of date

Security Vulnerabilities

object_store: Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files

RUSTSEC-2024-0358

Exposure of temporary credentials in logs in Apache Arrow Rust Object Store, version 0.10.1 and earlier on all platforms using AWS WebIdentityTokens.

On certain error conditions, the logs may contain the OIDC token passed to AssumeRoleWithWebIdentity. This allows someone with access to the logs to impersonate that identity, including performing their own calls to AssumeRoleWithWebIdentity, until the OIDC token expires. Typically OIDC tokens are valid for up to an hour, although this will vary depending on the issuer.

Users are recommended to use a different AWS authentication mechanism, disable logging or upgrade to version 0.10.2, which fixes this issue.

Details

When using AWS WebIdentityTokens with the object_store crate, in the event of a failure and automatic retry, the underlying reqwest error, including the full URL with the credentials, potentially in the parameters, is written to the logs.

Thanks to Paul Hatcherian for reporting this vulnerability