Lookup for vulnerable packages by Package URL.
| Purl | pkg:cargo/hivex@0.2.0 |
| Type | cargo |
| Namespace | |
| Name | hivex |
| Version | 0.2.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 0.2.1 |
| Latest_non_vulnerable_version | 0.2.1 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-5xn6-mwz6-aydc |
| vulnerability_id |
VCID-5xn6-mwz6-aydc |
| summary |
Hive has Double-free and Use After Free Vulnerabilities
`Drop` implementation for `Hive` did perform free, but so did `Hive::close`, which, at the end of the scope performed `Drop`, therefore triggering double-free.
Additionally, function `Hive::from_handle` was not marked as unsafe, making it, in combination with `as_handle` easy to clone and trigger double-free in safe code or triggering UB when using invalid pointer. |
| references |
|
| fixed_packages |
|
| aliases |
GHSA-j8cj-hw74-64jv
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-5xn6-mwz6-aydc |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:cargo/hivex@0.2.0 |