Lucene search
+L
Osv RustsecMost viewed

1310 matches found

osv_rustsec
osv_rustsec
•added 2025/12/09 12:00 p.m.•31 views

RUSTSEC-2025-0152 `finch_cli_rust` was removed from crates.io for malicious code

This attempts to typosquat the existing crate finchcli to steal credentials from local files. The malicious crate had 1 version published on 2025-12-08 and had been downloaded 18 times. There were no crates depending on this crate on crates.io. Thanks to Matthias Zepper of NGI Sweden for reportin...

5.5AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2024/10/24 12:00 p.m.•31 views

RUSTSEC-2024-0381 Replaced by `pqcrypto-mlkem`

This crate has been replaced by pqcrypto-mlkem, which provides a FIPS203-compatible implementation of ML-KEM...

7.1AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2023/06/11 12:00 p.m.•31 views

RUSTSEC-2023-0042 Ouroboros is Unsound

Summary Ouroboros has a soundness problem, but a fix has been implemented in 0.16.0. More details: In 0.15.0, Ouroboros works internally by creating a struct where all uses of 'this are replaced by 'static. However, a recent addition to Miri checks that references passed to functions are valid...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/03/24 12:00 p.m.•31 views

RUSTSEC-2023-0027 TLS certificate common name validation bypass

The NATS official Rust clients are vulnerable to MitM when using TLS. The common name of the server's TLS certificate is validated against the hostname provided by the server's plaintext INFO message during the initial connection setup phase. A MitM proxy can tamper with the host field's value by...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/02/17 12:00 p.m.•31 views

RUSTSEC-2022-0010 enum_map macro can cause UB when `Enum` trait is incorrectly implemented

Affected versions of this crate did not properly check the length of an enum when using enummap! macro, trusting user-provided length. When the LENGTH in the Enum trait does not match the array length in the EnumArray trait, this can result in the initialization of the enum map with uninitialized...

7.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/12/07 12:00 p.m.•31 views

RUSTSEC-2021-0128 Incorrect Lifetime Bounds on Closures in `rusqlite`

The lifetime bound on several closure-accepting rusqlite functions specifically, functions which register a callback to be later invoked by SQLite was too relaxed. If a closure referencing borrowed values on the stack is was passed to one of these functions, it could allow Rust code to access...

7.5CVSS7.5AI score0.0118EPSS
SaveExploits7References3
osv_rustsec
osv_rustsec
•added 2020/12/22 12:00 p.m.•31 views

RUSTSEC-2020-0109 stderr is unmaintained; use eprintln instead

The stderr crate is no longer maintained by its current owner. The author recommends using the eprintln macro from the standard library as a replacement...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/06/26 12:00 p.m.•31 views

RUSTSEC-2020-0052 Undefined Behavior in bounded channel

The affected version of this crate's the bounded channel incorrectly assumes that Vec::fromiter has allocated capacity that same as the number of iterator elements. Vec::fromiter does not actually guarantee that and may allocate extra memory. The destructor of the bounded channel reconstructs Vec...

9.8CVSS7.2AI score0.02701EPSS
SaveExploits2References3
osv_rustsec
osv_rustsec
•added 2020/05/04 12:00 p.m.•31 views

RUSTSEC-2020-0056 stdweb is unmaintained

The author of the stdweb crate is unresponsive. Maintained alternatives: - wasm-bindgen - js-sys - web-sys...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/08/09 12:00 p.m.•30 views

RUSTSEC-2026-0242 Safe ErrorRegistry APIs can cause undefined behavior

All published versions of dcrypt-api before 2.0.0 exposed safe ErrorRegistry operations that could trigger undefined behavior when the default std feature was enabled. Stored Box values were erased to raw pointers and later deallocated as Box. The geterror operation also performed an unchecked ca...

5.4AI score
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2026/08/09 12:00 p.m.•30 views

RUSTSEC-2026-0239 Streaming AEAD does not authenticate stream structure

In all published versions of dcrypt-symmetric before 2.0.0, version-1 GCM and ChaCha20-Poly1305 streams used unauthenticated terminator, counter, and length fields. Decryptors trusted transmitted counters, allocated from unbounded lengths, and discarded plaintext that did not fit a caller's singl...

5.4AI score
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2026/07/21 12:00 p.m.•30 views

RUSTSEC-2026-0218 `Enum` trait allows type confusion when manually implemented

Affected versions of this crate did not require the element type of the Array associated type in the Enum trait to match the array's generic parameter V. This can result in type confusion, and consequently memory corruption, when a manual Enum implementation declares an Array whose elements are n...

5.8AI score
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2026/06/12 12:00 p.m.•30 views

RUSTSEC-2026-0180 Panic decoding a malformed `hstore` value allows denial of service

A malicious or compromised server can return a binary hstore value with an invalid internal length field, causing the client to panic while decoding it. Applications that connect only to a trusted database are not exposed; the risk applies to clients that may connect to untrusted or user-supplied...

6.9CVSS5.4AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/04 12:00 p.m.•30 views

RUSTSEC-2026-0163 `pqcrypto-internals` is unmaintained: upstream PQClean project being archived

This crate provides internal FFI utilities for the pqcrypto- ecosystem, directly wrapping C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches or bug fixes will be applied to the upstream...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/04 12:00 p.m.•30 views

RUSTSEC-2026-0169 surf is unmaintained

The surf crate is unmaintained, and all versions are affected. For alternatives, consider using reqwest or ureq. See this issue for more context...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/07 12:00 p.m.•30 views

RUSTSEC-2026-0144 `Program<System>` accepts arbitrary executable programs

Affected versions of anchor-lang did not properly validate accounts declared as Program. The generic Program validation path used Pubkey::default as a sentinel to decide whether any executable program should be accepted. Since the system program id is also the default pubkey, Program was treated...

8.2CVSS5.8AI score0.00378EPSS
SaveExploits1References4
osv_rustsec
osv_rustsec
•added 2026/05/02 12:00 p.m.•30 views

RUSTSEC-2026-0127 Integer overflow in `array::ReadWrite::new()` leading to potential memory corruption

In array::ReadWrite::new line 83 of accessor/src/array.rs, let bytes = mem::sizeof:: len can overflow usize when len is very large. In release mode, this silently wraps, potentially making bytes = 0. The mapper then maps with 0 bytes, and subsequent accesses e.g. readvolatileat lead to undefined...

5.9AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/04/23 12:00 p.m.•30 views

RUSTSEC-2026-0108 `sui-execution-cut` was removed from crates.io for malicious code

sui-execution-cut included a build script that attempted to exfiltrate data from the build machine. The malicious crate had 1 version published on 2026-04-20 and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.8AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2026/02/02 12:00 p.m.•30 views

RUSTSEC-2026-0008 Potential undefined behavior when dereferencing Buf struct

if we dereference the Buf struct right after calling new or default on Buf struct, it passes Null Pointer to the unsafe function slice::fromrawparts. Based on the safety section documentation of function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passi...

5.5AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2025/04/01 12:00 p.m.•30 views

RUSTSEC-2025-0020 Risk of buffer overflow in `PyString::from_object`

PyString::fromobject took &str arguments and forwarded them directly to the Python C API without checking for terminating nul bytes. This could lead the Python interpreter to read beyond the end of the &str data and potentially leak contents of the out-of-bounds read by raising a Python exception...

6.9AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/07/23 12:00 p.m.•30 views

RUSTSEC-2024-0358 Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files

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 t...

3.8CVSS7.6AI score0.0071EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2023/08/07 12:00 p.m.•30 views

RUSTSEC-2023-0054 Use-after-free in `vec_insert_bytes`

Incorrect reallocation logic in the function vecinsertbytes causes a use-after-free. This function does not have to be called directly to trigger the vulnerability because many methods on EncodingWriter call this function internally. The mail-\ suite is unmaintained and the upstream sources have...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•30 views

RUSTSEC-2023-0012 `NULL` dereference validating DSA public key

An invalid pointer dereference on read can be triggered when an application tries to check a malformed DSA public key by the EVPPKEYpubliccheck function. This will most likely lead to an application crash. This function can be called on public keys supplied from untrusted sources which could allo...

7.5CVSS7.4AI score0.01846EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/06/27 12:00 p.m.•30 views

RUSTSEC-2022-0095 Miscompilation of `i8x16.swizzle` and `select` with v128 inputs

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jqwc-c49r-4w2x. For more information see the GitHub-hosted security advisory...

6.8CVSS6.6AI score0.01785EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/01/10 12:00 p.m.•30 views

RUSTSEC-2022-0002 Unsoundness in `dashmap` references

Reference returned by some methods of Ref and similar types may outlive the Ref and escape the lock. This causes undefined behavior and may result in a segfault. More information in dashmap167 issue...

6.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/11/29 12:00 p.m.•30 views

RUSTSEC-2021-0126 RustEmbed generated `get` method allows for directory traversal when reading files from disk

When running in debug mode and the debug-embed off by default feature is not enabled, the generated get method does not check that the input path is a child of the folder given. This allows attackers to read arbitrary files in the file system if they have control over the filename given. The...

7.5CVSS7.3AI score0.01593EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/28 12:00 p.m.•30 views

RUSTSEC-2021-0062 project abandoned; migrate to the `aes-siv` crate

The Miscreant project has been abandoned and archived. The Rust implementation has been adapted into the new aes-siv crate which implements both the AES-CMAC-SIV and AES-PMAC-SIV constructions: Please migrate to the aes-siv crate. Alternatively see the aes-gcm-siv crate for a newer, faster...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/04 12:00 p.m.•30 views

RUSTSEC-2021-0019 Multiple soundness issues

Calls std::str::fromutf8unchecked without any checks The function xcb::xproto::GetAtomNameReply::name calls std::str::fromutf8unchecked on the raw bytes that were received from the X11 server without any validity checks. The X11 server only prevents interior null bytes, but otherwise allows any X...

9.8CVSS9AI score0.01728EPSS
SaveExploits4References7
osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•30 views

RUSTSEC-2021-0091 Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/09/13 12:00 p.m.•29 views

RUSTSEC-2026-0283 clear_on_drop is unmaintained

This crate is no longer maintained. Use the zeroize crate instead. Instead of ClearOnDrop, use Zeroizing Instead of clearstack, use zeroizestack...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/08/01 12:00 p.m.•29 views

RUSTSEC-2026-0232 Processing of unverified relay events

The processed events received from a relay through admission-policy and database paths before verifying that the serialized fields matched the claimed event ID and signature. In particular, a database result for the claimed ID could cause verification to be skipped. The verification cache also...

7.5CVSS5.5AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/20 12:00 p.m.•29 views

RUSTSEC-2026-0199 Panic in `bcrypt::verify` on non-ASCII hash input

bcrypt::verifypassword, hash and HashParts::fromstrhash panic in str::sliceerrorfail when given a 60-byte &str containing a multi-byte UTF-8 character at certain byte positions. Impact Any Rust code that calls bcrypt::verify or HashParts::fromstr with an attacker-controlled hash string will panic...

5.3CVSS6.1AI score
SaveExploits0References6
osv_rustsec
osv_rustsec
•added 2026/05/21 12:00 p.m.•29 views

RUSTSEC-2026-0149 WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph For more information see the GitHub-hosted security advisory...

7.5CVSS5.9AI score0.005EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/16 12:00 p.m.•29 views

RUSTSEC-2026-0147 Read-only volume remount bypass via guest CAP_SYS_ADMIN

Affected versions of boxlite mount host directories shared via virtiofs as guest-side read-only by setting MSRDONLY from the guest. Because the default guest capability set included CAPSYSADMIN, untrusted code running inside a sandbox could execute mount -o remount,rw to re-flag the share as...

10CVSS8.4AI score0.00479EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2026/05/03 12:00 p.m.•29 views

RUSTSEC-2026-0250 im-rc is unmaintained

The im-rc crate is unmaintained; all versions are affected. The GitHub repository was archived by the owner on 2026-05-03. imbl is a maintained fork of the im crate, but we're not aware of maintained alternative to im-rc at this time...

5.4AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/04/13 12:00 p.m.•29 views

RUSTSEC-2026-0100 `pretty-changelog-logger` was removed from crates.io for malicious code

pretty-changelog-logger contains a build script build.rs that acts as a loader/dropper for malicious payloads. The malicious crate had 3 versions published on 2026-04-08 that had a total of 2239 downloads. There were no crates depending on this crate on crates.io. Thanks to Socket.dev for detecti...

5.8AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2026/04/05 12:00 p.m.•29 views

RUSTSEC-2026-0081 `logtrace` was removed from crates.io for malicious code

logtrace appeared to be downloading a RAT. The malicious crate had 2 versions published on 2026-04-01 that had a total of 30 downloads. There were no crates depending on this crate on crates.io. Thanks to Socket.dev for detecting and reporting this to the crates.io team!...

5.9AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2026/01/26 12:00 p.m.•29 views

RUSTSEC-2026-0024 Incorrect X25519 clamping check rejects all secrets on import

The latest releases of the libcrux-psq crate contains the following bug-fix: 1301: Fix broken clamping check for imported X25519 secret keys...

5.8AI score0.00307EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2025/04/03 12:00 p.m.•29 views

RUSTSEC-2025-0021 SHA-1 collision attacks are not detected

Summary gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks. Details gitoxide uses the sha1smol or sha1 crate, both of which implement standard SHA-1 without any mitigations for collision attacks. This means that two distinct G...

6.8CVSS7AI score0.00256EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2024/08/15 12:00 p.m.•29 views

RUSTSEC-2024-0363 Binary Protocol Misinterpretation caused by Truncating or Overflowing Casts

The following presentation at this year's DEF CON was brought to our attention on the SQLx Discord: SQL Injection isn't Dead: Smuggling Queries at the Protocol Level Archive link for posterity. Essentially, encoding a value larger than 4GiB can cause the length prefix in the protocol to overflow,...

8.4AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/07/01 12:00 p.m.•29 views

RUSTSEC-2024-0347 Incorrect usage of `#[repr(packed)]`

The affected versions make unsafe memory accesses under the assumption that reprpacked has a guaranteed field order. The Rust specification does not guarantee this, and https://github.com/rust-lang/rust/pull/125360 1.80.0-beta starts reordering fields of reprpacked structs, leading to illegal...

7AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2024/05/22 12:00 p.m.•29 views

RUSTSEC-2024-0351 Refs and paths with reserved Windows device names access the devices

Summary On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that...

5.4CVSS5.5AI score0.00448EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2024/05/15 12:00 p.m.•29 views

RUSTSEC-2024-0339 Tor path lengths too short when "Vanguards lite" configured

Description When building anonymizing circuits to or from an onion service with 'lite' vanguards the default enabled, the circuit manager code would build the circuits with one hop too few. Impact This makes users of this code more vulnerable to some kinds of traffic analysis when they run or vis...

7.3CVSS6.5AI score0.00298EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/06/20 12:00 p.m.•29 views

RUSTSEC-2023-0044 `openssl` `X509VerifyParamRef::set_host` buffer over-read

When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte...

4.5CVSS7.2AI score0.00212EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2023/04/29 12:00 p.m.•29 views

RUSTSEC-2023-0066 Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX

please is vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX on systems where they are not disabled. Here is how to see it in action: $ cd "$mktemp -d" $ git clone --depth 1 https://gitlab.com/edneville/please.git $ cd please/ $ git rev-parse HEAD...

4.6CVSS7.9AI score0.00294EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2023/03/24 12:00 p.m.•29 views

RUSTSEC-2023-0029 TLS certificate common name validation bypass

The NATS official Rust clients are vulnerable to MitM when using TLS. The common name of the server's TLS certificate is validated against the hostname provided by the server's plaintext INFO message during the initial connection setup phase. A MitM proxy can tamper with the host field's value by...

7AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2022/11/30 12:00 p.m.•29 views

RUSTSEC-2022-0069 Improper validation of Windows paths could lead to directory traversal attack

Path resolution in hyper-staticfile didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This onl...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/13 12:00 p.m.•29 views

RUSTSEC-2022-0060 orbtk is Unmaintained

The orbtk crate is no longer maintained. Alternatives proposed by the authors: iced slint...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/04/24 12:00 p.m.•29 views

RUSTSEC-2022-0071 Rusoto is unmaintained

The maintainers of Rusoto advise that all its crates are deprecated. This includes the common crates rusotocore, rusotosignature, rusotocredential, and service crates such as rusotos3 and rusotoec2. Users should migrate to the AWS SDK for Rust, which is maintained by AWS...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/12/24 12:00 p.m.•29 views

RUSTSEC-2021-0141 dotenv is Unmaintained

dotenv by description is meant to be used in development or testing only. Using this in production may or may not be advisable. Alternatives The below may or may not be feasible alternatives: - dotenvy...

7AI score
SaveExploits0References3
Total number of security vulnerabilities1310