mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:37:51 -06:00
Update OSV exported data
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"id": "RUSTSEC-2025-0143",
|
||||
"modified": "2026-01-27T09:22:43Z",
|
||||
"published": "2025-12-24T12:00:00Z",
|
||||
"aliases": [],
|
||||
"related": [],
|
||||
"summary": "Unsound APIs of public `constant::Reader` and `StructSchema`",
|
||||
"details": "The safe API functions `constant::Reader::get` and `StructSchema::new` rely on `PointerReader::get_root_unchecked`, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.\n\n## `Reader::get`\n\n```rust\npub fn get(&self) -> Result<<T as Owned>::Reader<'static>> {\n // ...\n // UNSAFE: access `words` without validation\n}\n```\n\n## `StructSchema::new`\n\n```rust\npub fn new(builder: RawBrandedStructSchema) -> StructSchema {\n // ...\n // UNSAFE: access encoded nodes without validation\n}\n```\n\nThis vulnerability allows safe Rust code to trigger UB, which violates Rust's safety guarantees.\n\nThe issue is resolved in version `0.24.0` by making constructor functions unsafe and mark the fields of struct as visible only in the crate.",
|
||||
"severity": [],
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "crates.io",
|
||||
"name": "capnp",
|
||||
"purl": "pkg:cargo/capnp"
|
||||
},
|
||||
"ecosystem_specific": {
|
||||
"affects": {
|
||||
"arch": [],
|
||||
"os": [],
|
||||
"functions": [
|
||||
"capnp::constant::Reader::get",
|
||||
"capnp::schema::StructSchema::new"
|
||||
]
|
||||
},
|
||||
"affected_functions": null
|
||||
},
|
||||
"database_specific": {
|
||||
"categories": [
|
||||
"memory-corruption"
|
||||
],
|
||||
"cvss": null,
|
||||
"informational": null
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "SEMVER",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "0.0.0-0"
|
||||
},
|
||||
{
|
||||
"fixed": "0.24.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"versions": []
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://crates.io/crates/capnp"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0143.html"
|
||||
},
|
||||
{
|
||||
"type": "REPORT",
|
||||
"url": "https://github.com/capnproto/capnproto-rust/issues/605"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"license": "CC0-1.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"id": "RUSTSEC-2026-0006",
|
||||
"modified": "2026-01-27T09:22:43Z",
|
||||
"published": "2026-01-26T12:00:00Z",
|
||||
"aliases": [
|
||||
"CVE-2026-24116"
|
||||
],
|
||||
"related": [],
|
||||
"summary": "Wasmtime segfault or unused out-of-sandbox load with `f64.copysign` operator on x86-64",
|
||||
"details": "This is an entry in the RustSec database for the Wasmtime security advisory\nlocated at\nhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73\nFor more information see the GitHub-hosted security advisory.",
|
||||
"severity": [
|
||||
{
|
||||
"type": "CVSS_V4",
|
||||
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
|
||||
}
|
||||
],
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
"ecosystem": "crates.io",
|
||||
"name": "wasmtime",
|
||||
"purl": "pkg:cargo/wasmtime"
|
||||
},
|
||||
"ecosystem_specific": {
|
||||
"affects": {
|
||||
"arch": [],
|
||||
"os": [],
|
||||
"functions": []
|
||||
},
|
||||
"affected_functions": null
|
||||
},
|
||||
"database_specific": {
|
||||
"categories": [],
|
||||
"cvss": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
|
||||
"informational": null
|
||||
},
|
||||
"ranges": [
|
||||
{
|
||||
"type": "SEMVER",
|
||||
"events": [
|
||||
{
|
||||
"introduced": "29.0.0"
|
||||
},
|
||||
{
|
||||
"fixed": "36.0.5"
|
||||
},
|
||||
{
|
||||
"introduced": "37.0.0"
|
||||
},
|
||||
{
|
||||
"fixed": "40.0.3"
|
||||
},
|
||||
{
|
||||
"introduced": "41.0.0"
|
||||
},
|
||||
{
|
||||
"fixed": "41.0.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"versions": []
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"type": "PACKAGE",
|
||||
"url": "https://crates.io/crates/wasmtime"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0006.html"
|
||||
},
|
||||
{
|
||||
"type": "ADVISORY",
|
||||
"url": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73"
|
||||
}
|
||||
],
|
||||
"database_specific": {
|
||||
"license": "CC0-1.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user