mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-12-01 01:31:19 -06:00
Update OSV exported data
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"id": "RUSTSEC-2023-0033",
|
||||
"modified": "2023-04-13T17:03:15Z",
|
||||
"modified": "2023-04-13T17:43:33Z",
|
||||
"published": "2023-04-12T12:00:00Z",
|
||||
"aliases": [],
|
||||
"related": [],
|
||||
"summary": "Parsing borsh messages with ZST which are not-copy/clone is unsound",
|
||||
"details": "Affected versions of borsh cause undefined behaviour when zero-sized-types (ZST) are parsed and the Copy/Clone traits are not implemented/derived.\nFor instance if 1000 instances of a ZST are deserialized, and the ZST is not copy (this can be achieved through a a singleton), \nthen accessing/writing to deserialized data will cause a segmentation fault.\n\nThere is currently no way for borsh to read data without also providing a Rust type. Therefore, it there are not ZST used for serialization, then you are not affected by this issue.",
|
||||
"details": "Affected versions of borsh cause undefined behavior when zero-sized-types (ZST) \nare parsed and the Copy/Clone traits are not implemented/derived.\nFor instance if 1000 instances of a ZST are deserialized, and the ZST is not copy \n(this can be achieved through a singleton), then accessing/writing to deserialized \ndata will cause a segmentation fault.\n\nThere is currently no way for borsh to read data without also providing a Rust type. \nTherefore, if not ZST are used for serialization, then you are not affected by this issue.",
|
||||
"affected": [
|
||||
{
|
||||
"package": {
|
||||
|
||||
Reference in New Issue
Block a user