Publish GHSA-2wq5-g96f-mv3v

This commit is contained in:
advisory-database[bot]
2024-09-23 20:49:00 +00:00
parent d3586a12e2
commit 03a47e13b4
@@ -0,0 +1,61 @@
{
"schema_version": "1.4.0",
"id": "GHSA-2wq5-g96f-mv3v",
"modified": "2024-09-23T20:47:27Z",
"published": "2024-09-23T20:47:27Z",
"aliases": [
],
"summary": "Ouch! allows a segmentation fault due to use of uninitialized memory",
"details": "When trying to decompress a file using \"ouch\", we can reach the function \"ouch::archive::zip::convert_zip_date_time\". In the function, there is a unsafe function, \"transmute\". Once the \"transmute\" function is called to convert the type of \"month\" object, the address of the object is changed to the uninitialized memory region. After that, when other function tries to dereference \"month\", segmentation fault occurs.",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "ouch"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.1"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/ouch-org/ouch/issues/707"
},
{
"type": "PACKAGE",
"url": "https://github.com/ouch-org/ouch"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0374.html"
}
],
"database_specific": {
"cwe_ids": [
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-09-23T20:47:27Z",
"nvd_published_at": null
}
}