Lucene search
+L
Osv-rustsecMost viewed

1310 matches found

osv-rustsec
osv-rustsec
•added 2021/11/14 12:00 p.m.•36 views

RUSTSEC-2021-0125 Panic on incorrect date input to `simple_asn1`

Version 0.6.0 of the simpleasn1 crate panics on certain malformed inputs to its parsing functions, including fromder and derdecode. Because this crate is frequently used with inputs from the network, this should be considered a security vulnerability. The issue occurs when parsing the old ASN.1...

7.5CVSS7.4AI score0.0134EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/11/06 12:00 p.m.•36 views

RUSTSEC-2020-0079 `socket2` invalidly assumes the memory layout of std::net::SocketAddr

The socket2 crate has assumed std::net::SocketAddrV4 and std::net::SocketAddrV6 have the same memory layout as the system C representation sockaddr. It has simply casted the pointers to convert the socket addresses to the system representation. The standard library does not say anything about the...

5.5CVSS5.2AI score0.00404EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2020/06/02 12:00 p.m.•36 views

RUSTSEC-2020-0157 Improper Synchronization and Race Condition in vm-memory

rust-vmm vm-memory before 0.1.1 and 0.2.x before 0.2.1 allows attackers to cause a denial of service loss of IP networking because readobj and writeobj do not properly access memory. This affects aarch64 with musl or glibc and x8664 with musl...

7.5CVSS7.3AI score0.01599EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/11 12:00 p.m.•35 views

RUSTSEC-2026-0255 Panic-safety unsoundness in `Chunk`, `RingBuffer`, and `InlineArray` (use-after-free / double-free)

Several methods in sized-chunks drop elements before updating the length/boundary metadata. If an element's Drop panics during the drop, the metadata update is skipped, so the container still treats the already-dropped elements as live. When the container's own Drop runs, those elements are visit...

5.3AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2026/08/01 12:00 p.m.•35 views

RUSTSEC-2026-0229 NIP-98 authorization parsing permits resource exhaustion

The NIP-98 HTTP authorization parser Base64-decoded the complete authorization value and parsed the resulting JSON event without applying an application-level size limit. Both operations occurred before the event's signature and authorization fields could be validated. An unauthenticated remote...

7.5CVSS5.6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/06/04 12:00 p.m.•35 views

RUSTSEC-2026-0165 `pqcrypto-falcon` is unmaintained: upstream PQClean project being archived

This crate provides Rust bindings to the Falcon FN-DSA signature scheme via 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 implementations. As ...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/05/27 12:00 p.m.•35 views

RUSTSEC-2026-0152 Use-after-free

Affected versions of oneringbuf exposed the obsolete IntoRef::intoref method through the public IntoRef trait. For heap-backed ring buffers, this method returned a DroppableRef handle. DroppableRef stored an owning raw pointer created from Box::intoraw. Its Clone implementation copied this raw...

5.9AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2026/03/11 12:00 p.m.•35 views

RUSTSEC-2026-0174 `Authorization::value` and `WwwAuthenticate::value` can violate ASCII invariants

Authorization::value uses HeaderValue::value with the claim that the internal string is ASCII, but Authorization::new and Authorization::setcredentials accept arbitrary String credentials without validation. As a result, safe code can construct a header value containing non-ASCII UTF-8 while the...

5.7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/08/23 12:00 p.m.•35 views

RUSTSEC-2024-0365 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 Diesel Gitter Channel: 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...

8.5AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/01/02 12:00 p.m.•35 views

RUSTSEC-2024-0002 `serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access

Impact An issue was discovered in the FamStructWrapper::deserialize implementation provided by the crate for vmmsysutil::fam::FamStructWrapper, which can lead to out of bounds memory accesses. The deserialization does not check that the length stored in the header matches the flexible array lengt...

5.7CVSS7.4AI score0.00652EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/09/01 12:00 p.m.•35 views

RUSTSEC-2023-0056 Default functions in VolatileMemory trait lack bounds checks, potentially leading to out-of-bounds memory accesses

An issue was discovered in the default implementations of the VolatileMemory::getatomicref, alignedasref, alignedasmut, getref, getarrayref trait functions, which allows out-of-bounds memory access if the VolatileMemory::getslice function returns a VolatileSlice whose length is less than the...

2.5CVSS4AI score0.00255EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2023/04/14 12:00 p.m.•35 views

RUSTSEC-2023-0034 Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)

If an attacker is able to flood the network with pairs of HEADERS/RSTSTREAM frames, such that the h2 application is not able to accept them faster than the bytes are received, the pending accept queue can grow in memory usage. Being able to do this consistently can result in excessive memory use,...

7.5CVSS7.6AI score0.01121EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2022/02/05 12:00 p.m.•35 views

RUSTSEC-2022-0041 Unsoundness of AtomicCell<*64> arithmetics on 32-bit targets that support Atomic*64

Impact Affected versions of this crate incorrectly assumed that the alignment of i,u64 was always the same as AtomicI,U64. However, the alignment of i,u64 on a 32-bit target can be smaller than AtomicI,U64. This can cause the following problems: - Unaligned memory accesses - Data race Crates usin...

8.1CVSS7.4AI score0.01229EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/25 12:00 p.m.•35 views

RUSTSEC-2021-0109 Process crashes when the cell used as DepGroup is not alive

It's easy to create a malign transaction which uses the dead cell as the DepGroup in the DepCells. The transaction can crash all the receiving nodes...

7.8CVSS7.3AI score0.01088EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2021/03/06 12:00 p.m.•35 views

RUSTSEC-2021-0038 Multiple memory safety issues

Affected versions contain multiple memory safety issues, such as: - Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference. - Setting a window icon using a non-raster image which FLTK rasterizes lazily would lead to a NULL dereference. - Pixmap constructo...

9.1CVSS8.3AI score0.01278EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/01/04 12:00 p.m.•35 views

RUSTSEC-2021-0001 XSS in mdBook's search page

This is a cross-post of the official security advisoryml. The official post contains a signed version with our PGP key, as well. ml: https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0 The Rust Security Response Working Group was recently notified of a security issue affecti...

6.1CVSS6.7AI score0.0127EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/31 12:00 p.m.•35 views

RUSTSEC-2020-0103 `impl Random` on arrays can lead to dropping uninitialized memory

Affected versions of this crate had a panic safety issue to drop partially uninitialized array of T upon panic in a user provided function T::random. Dropping uninitialized T can potentially cause memory corruption or undefined behavior. The flaw was corrected in commit 565d508 by using MaybeUnin...

7.8CVSS7.9AI score0.00426EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/12/31 12:00 p.m.•35 views

RUSTSEC-2020-0154 InputStream::read_exact : `Read` on uninitialized buffer causes UB

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 2020/12/18 12:00 p.m.•35 views

RUSTSEC-2020-0152 ImmediateIO and TransactionalIO can cause data races

The ImmediateIO and TransactionalIO types implement Sync for all contained Expander types regardless of if the Expander itself is safe to use across threads. As the IO types allow retrieving the Expander, this can lead to non-thread safe types being sent across threads as part of the Expander...

5.9CVSS5.6AI score0.00978EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/11/16 12:00 p.m.•35 views

RUSTSEC-2020-0151 Generators can cause data races if non-Send types are used in their generator functions

The Generator type is an iterable which uses a generator function that yields values. In affected versions of the crate, the provided function yielding values had no Send bounds despite the Generator itself implementing Send. The generator function lacking a Send bound means that types that are...

5.9CVSS5.4AI score0.01094EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2018/06/08 12:00 p.m.•35 views

RUSTSEC-2018-0019 Multiple memory safety issues

Affected versions contain multiple memory safety issues, such as: - Unsoundly coercing immutable references to mutable references - Unsoundly extending lifetimes of strings - Adding the Send marker trait to objects that cannot be safely sent between threads This may result in a variety of memory...

9.8CVSS9.7AI score0.01324EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2018/06/01 12:00 p.m.•35 views

RUSTSEC-2018-0010 Use after free in CMS Signing

Affected versions of the OpenSSL crate used structures after they'd been freed...

9.8CVSS9.4AI score0.01744EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/07/06 12:00 p.m.•34 views

RUSTSEC-2026-0205 `Array::insert` violates exception safety if compare function panics, leading to potential Double-Free

In affected versions of this crate, Array::insert is not exception safe. In the UPSERT path, key and value's snapshot is written to self.datablock, and after the insertion is completed, key and value are mem::forget in order to prevent double free. However, during the insertion, K::compare is...

5.9AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/06/03 12:00 p.m.•34 views

RUSTSEC-2026-0158 Incomplete message edit validation in matrix-sdk-ui

The message edit validation logic in the matrix-sdk-ui crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator or an actor with equivalent power to impersonate or spo...

4.9CVSS5.9AI score0.00233EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/12/24 12:00 p.m.•34 views

RUSTSEC-2025-0143 Unsound APIs of public `constant::Reader` and `StructSchema`

The safe API functions constant::Reader::get and StructSchema::new rely on PointerReader::getrootunchecked, which can cause undefined behavior UB by constructing arbitrary words or schemas. Reader::get rust pub fn get&self - Result::Reader // ... // UNSAFE: access words without validation...

6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/07/21 12:00 p.m.•34 views

RUSTSEC-2024-0357 `MemBio::get_buf` has undefined behavior with empty buffers

Previously, MemBio::getbuf called slice::fromrawparts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/03/24 12:00 p.m.•34 views

RUSTSEC-2023-0030 `Versionize::deserialize` implementation for `FamStructWrapper<T>` is lacking bound checks, potentially leading to out of bounds memory accesses

An issue was discovered in the Versionize::deserialize implementation provided by the versionize crate for vmmsysutil::fam::FamStructWrapper, which can lead to out of bounds memory accesses. The impact started with version 0.1.1. The issue was corrected in version 0.1.10 by inserting a check that...

5.7CVSS6.2AI score0.00556EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/08/03 12:00 p.m.•34 views

RUSTSEC-2022-0090 `libsqlite3-sys` via C SQLite CVE-2022-35737

It was sometimes possible for SQLite versions = 1.0.12, 3.39.2 to allow an array-bounds overflow when large string were input into SQLite's printf function. As libsqlite3-sys bundles SQLite, it is susceptible to the vulnerability. libsqlite3-sys was updated to bundle the patched version of SQLite...

7.5CVSS7.1AI score0.23251EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2022/01/02 12:00 p.m.•34 views

RUSTSEC-2022-0008 Delegate functions are missing `Send` bound

Affected versions of this crate did not require event handlers to have Send bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior. The flaw was corrected in commit afe3252 by adding Send bounds...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/11/14 12:00 p.m.•34 views

RUSTSEC-2021-0123 Converting `NSString` to a String Truncates at Null Bytes

Methods of NSString for conversion to a string may return a partial result. Since they call CStr::fromptr on a pointer to the string buffer, the string is terminated at the first null byte, which might not be the end of the string. In addition to the vulnerable functions listed for this issue, th...

7.5CVSS7.2AI score0.01358EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/02/05 12:00 p.m.•34 views

RUSTSEC-2021-0020 Multiple Transfer-Encoding headers misinterprets request payload

hyper's HTTP server code had a flaw that incorrectly understands some requests with multiple transfer-encoding headers to have a chunked payload, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that understands the request payload boundary differently can...

8.1CVSS8AI score0.04732EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/01/07 12:00 p.m.•34 views

RUSTSEC-2021-0090 Reading on uninitialized memory may cause UB ( `util::read_spv()` )

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.01345EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/21 12:00 p.m.•34 views

RUSTSEC-2020-0105 Update unsound DrainFilter and RString::retain

Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust60977 double drop & rust-lang/rust78498 create invalid utf-8 string. The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library...

7.5CVSS7.4AI score0.01413EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/12/19 12:00 p.m.•34 views

RUSTSEC-2020-0106 Queues allow non-Send types to be sent to other threads, allowing data races

Affected versions of this crate unconditionally implemented Send for types used in queue implementations InnerSend, InnerRecv, FutInnerSend, FutInnerRecv. This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior. The flaw was correcte...

5.9CVSS5.7AI score0.01107EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/11/10 12:00 p.m.•34 views

RUSTSEC-2020-0102 LateStatic has incorrect Sync bound

Affected versions of this crate implemented Sync for LateStatic with T: Send, so that it is possible to create a data race to a type T: Send + !Sync e.g. Cell. This can result in a memory corruption or other kinds of undefined behavior. The flaw was corrected in commit 11f396c by replacing the T:...

7CVSS6.9AI score0.00357EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/10/03 12:00 p.m.•34 views

RUSTSEC-2019-0025 Flaw in CBOR deserializer allows stack overflow

Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small 1 kB CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags...

7.5CVSS7.3AI score0.01409EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2018/06/29 12:00 p.m.•34 views

RUSTSEC-2018-0002 Links in archives can overwrite any existing file

When unpacking a tarball with the unpackin-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the sam...

7.5CVSS7.4AI score0.01676EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/11 12:00 p.m.•33 views

RUSTSEC-2026-0252 Panic-safety unsoundness in `SplitVec::extend_from_slice` (uninitialized read)

SplitVec::extendfromslice increments the logical length self.len before cloning the incoming elements into the reserved slots. If an element's Clone panics mid-fill, unwinding leaves self.len counting slots that were never initialized. A later safe read get, indexing, iter then reads one of those...

5.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/06/03 12:00 p.m.•33 views

RUSTSEC-2026-0171 `logflux` was removed from crates.io for malicious code

The logflux crate attempted to download and run a malicious payload on the user's machine. The malicious crate had 1 version published on 2026-04-26, approximately 1 month before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Paweł Bis for...

5.8AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2024/09/05 12:00 p.m.•33 views

RUSTSEC-2024-0372 Memory leak when calling a canister method via `ic_cdk::call`

When a canister method is called via iccdk::call, a new Future CallFuture is created and can be awaited by the caller to get the execution result. Internally, the state of the Future is tracked and stored in a struct called CallFutureState. A bug in the polling implementation of the CallFuture...

7.5CVSS7.6AI score0.00693EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/04/19 12:00 p.m.•33 views

RUSTSEC-2024-0336 `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

If a closenotify alert is received during a handshake, completeio does not terminate. Callers which do not call completeio are not affected. rustls-tokio and rustls-ffi do not call completeio and are not affected. rustls::Stream and rustls::StreamOwned types use completeio and are affected...

7.5CVSS7.3AI score0.00949EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/03/15 12:00 p.m.•33 views

RUSTSEC-2024-0341 Slow loris vulnerability with default configuration

tls-listener is a rust lang wrapper around a connection listener to support TLS. With the default configuration of tls-listener, a malicious user can open 6.4 TcpStreams a second, sending 0 bytes, and can trigger a DoS. The default configuration options make any public service using...

7.5CVSS7.3AI score0.00964EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2023/11/10 12:00 p.m.•33 views

RUSTSEC-2023-0070 Insufficient covariance check makes self_cell unsound

All public versions prior to 1.02 used an insufficient check to ensure that users correctly marked the dependent type as either covariant or notcovariant. This allowed users to mark a dependent as covariant even though its type was not covariant but invariant, for certain invariant types involvin...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/09/13 12:00 p.m.•33 views

RUSTSEC-2023-0062 BER/CER/DER decoder panics on invalid input

Due to insufficient checking of input data, decoding certain data sequences can lead to bcder panicking rather than returning an error. This can affect both the actual decoding stage as well as accessing content of types that utilized delayed decoding. bcder 0.7.3 fixes these issues by more...

7.5CVSS7.3AI score0.00702EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2023/08/16 12:00 p.m.•33 views

RUSTSEC-2023-0098 `if-cfg` was removed from crates.io for malicious code

This crate was part of a typosquatting malware cluster published by the malicious user amaperf and contained a malware payload in build.rs to exfiltrate host information to the attacker. This advisory is to retrospectively document this attempted attack. The version information and download recor...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/02/07 12:00 p.m.•33 views

RUSTSEC-2023-0011 Invalid pointer dereference in `d2i_PKCS7` functions

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2iPKCS7, d2iPKCS7bio or d2iPKCS7fp functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in...

7.5CVSS7.6AI score0.01846EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/01/04 12:00 p.m.•33 views

RUSTSEC-2023-0001 reject_remote_clients Configuration corruption

On Windows, configuring a named pipe server with pipemode will force ServerOptions::rejectremoteclients as false. This drops any intended explicit configuration for the rejectremoteclients that may have been set as true previously. The default setting of rejectremoteclients is normally true meani...

5.4CVSS5.4AI score0.0059EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2022/07/30 12:00 p.m.•33 views

RUSTSEC-2022-0045 Post-Quantum Key Encapsulation Mechanism SIKE broken

Wouter Castryck and Thomas Decru presented an efficient key recovery attack on the SIDH protocol. As a result, the secret key of SIKEp751 can be recovered in a matter of hours. The SIKE and SIDH schemes will be removed from oqs 0.7.2. The affected schemes are the oqs::kem::Algorithm::Sike and...

7.1AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2022/07/12 12:00 p.m.•33 views

RUSTSEC-2022-0100 Use After Free with `externref`s in Wasmtime

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g. For more information see the GitHub-hosted security advisory...

8.8CVSS6.6AI score0.0125EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/05/10 12:00 p.m.•33 views

RUSTSEC-2022-0042 malicious crate `rustdecimal`

The Rust Security Response WG and the crates.io team were notified1 on 2022-05-02 of the existence of the malicious crate rustdecimal, which contained malware. The crate name was intentionally similar to the name of the popular rustdecimal2 crate, hoping that potential victims would misspell its...

7.1AI score
SaveExploits0References3
Total number of security vulnerabilities1310