Lucene search
+L
Osv-rustsecRecent

1310 matches found

osv-rustsec
osv-rustsec
•added 2025/04/04 12:00 p.m.•23 views

RUSTSEC-2025-0022 Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some... value was passed to the properties argument of either of these functions, a use-after-free would result. In practice this would nearly always result in OpenSSL treating the properties as an empty string due to CString::drop's behavior. The maintainers thank quitbug for reporting th...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/04/03 12:00 p.m.•26 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 2025/04/01 12:00 p.m.•28 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 2025/03/27 12:00 p.m.•13 views

RUSTSEC-2025-0033 Public API without sufficient bounds checking

Match::get and Match::ptr lack sufficient bounds checks, leading to potential out of bounds reads...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/27 12:00 p.m.•18 views

RUSTSEC-2025-0019 `array-init-cursor` in version 0.2.0 and below is unsound when used with types that implement `Drop`

The Drop implementation will get run twice when using the cursor. This issue does not affect you, if you are using only using the crate with types that are Copy such as u8. This issue also does not affect you, if you are only depending on it through the crate planus...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/27 12:00 p.m.•11 views

RUSTSEC-2025-0032 Safe API can cause heap-buffer-overflow

ffi::nstr should be marked unsafe, since a pointer to a buffer without a trailing 0 value will cause a heap buffer overflow...

7.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/26 12:00 p.m.•13 views

RUSTSEC-2025-0018 Potential out-of-bounds read with a malformed ELF file and the HashTable API.

Affected versions of this crate only validated the index argument of HashTable::getbucket and HashTable::getchain against the input-controlled bucketcount and chaincount fields, but not against the size of the ELF section. As a result, a malformed ELF file could trigger out-of-bounds reads in a...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/23 12:00 p.m.•16 views

RUSTSEC-2025-0017 The `trust-dns` project has been rebranded to `hickory-dns`

The trust-dns-proto crate is now available as hickory-proto...

7.2AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2025/03/16 12:00 p.m.•11 views

RUSTSEC-2025-0168 Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write

In the archive extraction routine of affected versions of the zip crate, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file...

7.3CVSS5.5AI score0.00564EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/13 12:00 p.m.•15 views

RUSTSEC-2025-0016 Use after free in `Parc` and `Prc` due to missing lifetime constraints

Affected versions of this crate didn't provide sufficient lifetime constraints to conversion functions from alloc::sync::Arc and alloc::rc::Rc, which made it possible to create projections of these reference counted pointers. Unlike the original reference counted pointers, these projections could...

6.7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/12 12:00 p.m.•16 views

RUSTSEC-2025-0149 World Writable Directory in /var/log/below Allows Local Privilege Escalation

Below is a tool for recording and displaying system data like hardware utilization and cgroup information on Linux. Symlink Attack in /var/log/below/errorroot.log Below's systemd service runs with full root privileges. It attempts to create a world-writable directory in /var/log/below. Even if th...

7.3CVSS7.3AI score0.00372EPSS
SaveExploits23References3
osv-rustsec
osv-rustsec
•added 2025/03/10 12:00 p.m.•16 views

RUSTSEC-2025-0156 `tree-sitter-pkl` was removed from crates.io for malicious code

tree-sitter-pkl was part of a campaign that attempted to exfiltrate environmental data from the host. The malicious crate had 1 version published in March 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.9AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/03/08 12:00 p.m.•14 views

RUSTSEC-2025-0014 humantime is unmaintained

Latest humantime crates.io release is four years old and GitHub repository has not seen commits in four years. Question about maintenance status has not gotten any reaction from maintainer: https://github.com/tailhook/humantime/issues/31 Update: maintained again The maintainer has responded and...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/06 12:00 p.m.•30 views

RUSTSEC-2025-0009 Some AES functions may panic when overflow checking is enabled.

ring::aead::quic::HeaderProtectionKey::newmask may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 232 packets sent and/or received. On 64-bit targe...

5.3CVSS7.2AI score0.01029EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/05 12:00 p.m.•25 views

RUSTSEC-2025-0010 Versions of *ring* prior to 0.17 are unmaintained.

ring 0.16.20 was released over 4 years ago and isn't maintained, tested, etc. Additionally, the project's general policy is to only patch the latest release, which is 0.17.12 now. It will be difficult for anybody to backport future fixes to versions earlier than 0.17.10 due to license changes...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/04 12:00 p.m.•16 views

RUSTSEC-2025-0012 `backoff` is unmaintained.

The backoff crate is no longer actively maintained. For exponential backoffs/retrying, you can use the backon crate...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/03/04 12:00 p.m.•13 views

RUSTSEC-2025-0011 `openpgp-card-sequoia` is unmaintained.

The openpgp-card-sequoia crate is no longer actively maintained. You can use the openpgp-card-rpgp crate for OpenPGP card client functionality instead...

7.2AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/02/24 12:00 p.m.•30 views

RUSTSEC-2025-0008 Openh264 Decoding Functions Heap Overflow Vulnerability

OpenH264 recently reported a heap overflow that was fixed in upstream 63db555 and integrated into our 0.6.6 release. For users relying on Cisco's pre-compiled DLL, we also published 0.8.0, which is compatible with their latest fixed DLL version 2.6.0. In other words: - if you rely on our source...

8.6CVSS6.2AI score0.00687EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/21 12:00 p.m.•11 views

RUSTSEC-2025-0013 resolve is unmaintained

resolve crate's GitHub repository is archived with no commits for seven years. Latest crates.io release is also seven years old. Possible alternatives hickory-resolver...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/20 12:00 p.m.•38 views

RUSTSEC-2025-0007 *ring* is unmaintained

The author has announced an indefinite hiatus in its development, noting that any reported security vulnerabilities may go unaddressed for prolonged periods of time. Update: security maintenance only After this advisory was published, the author graciously agreed to give access to the rustls team...

7.4AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/16 12:00 p.m.•14 views

RUSTSEC-2025-0015 Denial of Service via malicious Web Push endpoint

Prior to version 0.10.3, the built-in clients of the web-push crate eagerly allocated memory based on the Content-Length header returned by the Web Push endpoint. Malicious Web Push endpoints could return a large Content-Length without ever having to send as much data, leading to denial of servic...

4CVSS7AI score0.00412EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/15 12:00 p.m.•14 views

RUSTSEC-2025-0159 `sophosfirewall-python` was removed from crates.io for malicious code

sophosfirewall-python was part of a campaign that attempted to exfiltrate environmental data from the host. The malicious crate had 6 versions published in February 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.9AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/02/10 12:00 p.m.•16 views

RUSTSEC-2025-0155 `rands` was removed from crates.io for malicious code

This crate attempted to typosquat the rand crate, and would link in a malware payload on macOS and Linux hosts when built. This advisory is to retrospectively document this attempted attack. The version information and download records of the malicious crate are no longer available. The related...

5.8AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/02/10 12:00 p.m.•15 views

RUSTSEC-2025-0029 totally-safe introduces memory vulnerabilities in safe Rust

totally-safe provides unsound APIs that exploit a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/10 12:00 p.m.•11 views

RUSTSEC-2025-0030 totally-safe-transmute allows transmuting any type to any other type in safe Rust

This crate is a toy and should never be used. It showcases a known soundness issue https://github.com/rust-lang/rust/issues/32670 that will never get fixed. In short, Linux provides a file called /proc/self/mem which can be used by a program to modify its own memory. This library modifies an enum...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/10 12:00 p.m.•15 views

RUSTSEC-2025-0028 cve-rs introduces memory vulnerabilities in safe Rust

This crate is a joke and should never be used. cve-rs provides demonstrations of common memory vulnerabilities such as buffer overflows and segfaults implemented completely within safe Rust. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc:...

7.4AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/07 12:00 p.m.•20 views

RUSTSEC-2025-0006 Hickory DNS failure to verify self-signed RRSIG for DNSKEYs

Summary The DNSSEC validation routines treat entire RRsets of DNSKEY records as trusted once they have established trust in only one of the DNSKEYs. As a result, if a zone includes a DNSKEY with a public key that matches a configured trust anchor, all keys in that zone will be trusted to...

7.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/02/02 12:00 p.m.•18 views

RUSTSEC-2025-0004 ssl::select_next_proto use after free

In openssl versions before 0.10.70, ssl::selectnextproto can return a slice pointing into the server argument's buffer but with a lifetime bound to the client argument. In situations where the server buffer's lifetime is shorter than the client buffer's, this can cause a use after free. This coul...

6.3CVSS5.1AI score0.0068EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2025/01/30 12:00 p.m.•15 views

RUSTSEC-2025-0158 `jfrog_quotes` was removed from crates.io for malicious code

jfrogquotes was part of a campaign that attempted to exfiltrate environmental data from the host. The malicious crate had 1 version published in January 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.9AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/01/30 12:00 p.m.•15 views

RUSTSEC-2025-0160 `custom-req-on-workers` was removed from crates.io for malicious code

custom-req-on-workers was part of a campaign that attempted to exfiltrate environmental data from the host. The malicious crate had 1 version published in January 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.9AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2025/01/18 12:00 p.m.•24 views

RUSTSEC-2025-0001 gix-worktree-state nonexclusive checkout sets executable files world-writable

Summary gix-worktree-state specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permissions is not subject to the umask. This causes files in a repository to be world-writable in some...

5CVSS5.6AI score0.00371EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2025/01/15 12:00 p.m.•16 views

RUSTSEC-2025-0040 `root` appended to group listings

Affected versions append root to group listings, unless the correct listing has exactly 1024 groups. This affects both: - The supplementary groups of a user - The group access list of the current process If the caller uses this information for access control, this may lead to privilege escalation...

7.1CVSS6.8AI score0.00197EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/01/14 12:00 p.m.•14 views

RUSTSEC-2025-0161 libsecp256k1 is unmaintained

The maintainers recommend using k256 instead...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/01/13 12:00 p.m.•11 views

RUSTSEC-2025-0026 registry is unmaintained

The author has archived the GitHub repository and mentions deprecation in project's README. Possible alternatives windows-registry...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/01/13 12:00 p.m.•16 views

RUSTSEC-2025-0002 Segmentation fault due to lack of bound check

In this case, the "fastfloat2::common::AsciiStr::first" method within the "AsciiStr" struct uses the unsafe keyword to reading from memory without performing bounds checking. Specifically, it directly dereferences a pointer offset by "self.ptr". Because of the above reason, the method accesses...

7.4AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/01/13 12:00 p.m.•11 views

RUSTSEC-2025-0003 Segmentation fault due to lack of bound check

In this case, the "fastfloat::common::AsciiStr::first" method within the "AsciiStr" struct uses the unsafe keyword to reading from memory without performing bounds checking. Specifically, it directly dereferences a pointer offset by "self.ptr". Because of the above reason, the method accesses...

7.5AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/01/13 12:00 p.m.•8 views

RUSTSEC-2025-0005 Out of bounds write triggered by crafted coverage data

Function grcov::covdir::getcoverage uses the unsafe function getuncheckedmut without validating that the index is in bounds. This results in memory corruption, and could potentially allow arbitrary code execution provided that an attacker can feed the tool crafted coverage data...

7.6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/28 12:00 p.m.•11 views

RUSTSEC-2024-0430 Use of insecure cryptographic algorithms

This crate uses a number of cryptographic algorithms that are no longer considered secure and it uses them in ways that do not guarantee the integrity of the encrypted data. MagicCrypt64 uses the insecure DES block cipher in CBC mode without authentication. This allows for practical brute force a...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/23 12:00 p.m.•15 views

RUSTSEC-2024-0431 Unsound usages of `core::slice::from_raw_parts`

We consider asslice and asslicemut unsound because: the pointer with any bit patterns could be cast to the slice of arbitrary types. The pointer could be created by unsafe new and deprecated fromparts. We consider that fromparts should be removed in latest version because it will help trigger...

7.2AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/12/19 12:00 p.m.•15 views

RUSTSEC-2024-0424 Unsound usages of `core::slice::from_raw_parts_mut`

The library breaks the safety assumptions when using unsafe API slice::fromrawpartsmut. The pointer passed to fromrawpartsmut is misaligned by casting u8 to u16 raw pointer directly, which is unsound. The bug is patched by using alignoffset, which could make sure the memory address is aligned to ...

7.2AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/12/19 12:00 p.m.•15 views

RUSTSEC-2024-0426 Unsound usages of `u8` type casting

The library provides a safe public API unpack to cast u8 array to arbitrary types, which can cause to undefined behaviors. The length check of array can only prevent out-of-bound access on the return type. However, it can't prevent misaligned pointer when casting u8 pointer to a type aligned to...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/19 12:00 p.m.•15 views

RUSTSEC-2024-0435 Unsound usages of `Vec::from_raw_parts`

The library provides a public safe API transmutevecasbytes, which incorrectly assumes that any generic type T could have stable layout, causing to uninitialized memory exposure if the users pass any types with padding bytes as T and cast it to u8 pointer. In the issue, we develop a PoC to show...

7AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/12/18 12:00 p.m.•12 views

RUSTSEC-2024-0433 Malicious plugin names, recipients, or identities can cause arbitrary binary execution

A plugin name containing a path separator may allow an attacker to execute an arbitrary binary. Such a plugin name can be provided through an attacker-controlled input to the following age APIs when the plugin feature flag is enabled: - age::plugin::Identity::fromstr or equivalently str::parse:: ...

7.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/18 12:00 p.m.•18 views

RUSTSEC-2024-0432 Malicious plugin names, recipients, or identities can cause arbitrary binary execution

A plugin name containing a path separator may allow an attacker to execute an arbitrary binary. Such a plugin name can be provided to the rage CLI through an attacker-controlled recipient or identity string, or an attacker-controlled plugin name via the -j flag. On UNIX systems, a directory...

7.3AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/12 12:00 p.m.•12 views

RUSTSEC-2024-0437 Crash due to uncontrolled recursion in protobuf crate

Affected version of this crate did not properly parse unknown fields when parsing a user-supplied input. This allows an attacker to cause a stack overflow when parsing the mssage on untrusted data...

5.9CVSS5.9AI score0.00473EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/09 12:00 p.m.•30 views

RUSTSEC-2024-0421 `idna` accepts Punycode labels that do not produce any non-ASCII when decoded

idna 0.5.0 and earlier accepts Punycode labels that do not produce any non-ASCII output, which means that either ASCII labels or the empty root label can be masked such that they appear unequal without IDNA processing or when processed with a different implementation and equal when processed with...

8.8CVSS6.1AI score0.00221EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2024/12/09 12:00 p.m.•17 views

RUSTSEC-2024-0423 gtk-layer-shell-sys GTK3 bindings - no longer maintained

The gtk-layer-shell-sys GTK3 bindings are no longer maintained. The maintainers have archived the repository, and added a note to the crate description and its README.md that the crates are no longer maintained. Please take a look at gtk4-layer-shell instead...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/09 12:00 p.m.•17 views

RUSTSEC-2024-0422 gtk-layer-shell GTK3 bindings - no longer maintained

The gtk-layer-shell GTK3 bindings are no longer maintained. The maintainers have archived the repository, and added a note to the crate description and its README.md that the crates are no longer maintained. Please take a look at gtk4-layer-shell instead...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/12/05 12:00 p.m.•16 views

RUSTSEC-2024-0447 Panics on Malformed Untrusted Input

During a security audit, Radically Open Security discovered several reachable edge cases which allow an attacker to trigger rpgp crashes by providing crafted data. Impact When processing malformed input, rpgp can run into Rust panics which halt the program. This can happen in the following...

7.5CVSS6.9AI score0.00467EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/12/05 12:00 p.m.•17 views

RUSTSEC-2024-0428 Undefined behaviour in `kvm_ioctls::ioctls::vm::VmFd::create_device`

An issue was identified in the VmFd::createdevice function, leading to undefined behavior and miscompilations on rustc 1.82.0 and newer due to the function's violation of Rust's pointer safety rules. The function downcasted a mutable reference to its struct kvmcreatedevice argument to an immutabl...

7.3AI score
SaveExploits0References3
Total number of security vulnerabilities1310