Files
advisory-db/packages/traitobject.json
2025-10-27 16:49:06 +00:00

141 lines
3.9 KiB
JSON

[
{
"id": "RUSTSEC-2021-0144",
"modified": "2023-06-13T13:10:24Z",
"published": "2021-10-04T12:00:00Z",
"aliases": [
"GHSA-pp8r-vv2j-9j5v"
],
"related": [],
"summary": "traitobject is Unmaintained",
"details": "Crate `traitobject` has not had a release for over five years.\n\nIn addition there is an existing security advisory that has not been addressed:\n\n - [RUSTSEC-2020-0027](https://rustsec.org/advisories/RUSTSEC-2020-0027)\n\n## Possible Alternative(s)\n\n The below list has not been vetted in any way and may or may not contain alternatives;\n\n - [destructure_traitobject]\n\n[destructure_traitobject]: https://crates.io/crates/destructure_traitobject",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "traitobject",
"purl": "pkg:cargo/traitobject"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [],
"cvss": null,
"informational": "unmaintained"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/traitobject"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0144.html"
},
{
"type": "REPORT",
"url": "https://github.com/reem/rust-traitobject/issues/7"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0027"
}
],
"database_specific": {
"license": "CC0-1.0"
}
},
{
"id": "RUSTSEC-2020-0027",
"modified": "2023-06-13T13:10:24Z",
"published": "2020-06-01T12:00:00Z",
"aliases": [
"CVE-2020-35881",
"GHSA-j79j-cx3h-g27h"
],
"related": [],
"summary": "traitobject assumes the layout of fat pointers",
"details": "This crate gets the data pointer from fat pointers assuming that the first\nelement in a fat pointer is the data pointer. This is currently true, but\nit may change in a future Rust version, leading to memory corruption.\n\nThis has been fixed in the master branch of the crate, but is has not\nbeen released into crates.io.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "traitobject",
"purl": "pkg:cargo/traitobject"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": [
"traitobject::data",
"traitobject::data_mut"
]
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/traitobject"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0027.html"
},
{
"type": "REPORT",
"url": "https://github.com/reem/rust-traitobject/issues/7"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]