GHSA-w4cc-pc2h-whcj

Suggest an improvement
Source
https://github.com/advisories/GHSA-w4cc-pc2h-whcj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-w4cc-pc2h-whcj/GHSA-w4cc-pc2h-whcj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w4cc-pc2h-whcj
Aliases
Published
2022-01-06T22:16:10Z
Modified
2023-11-08T04:07:21.492435Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Write in derive-com-impl
Details

An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. An invalid reference (and memory corruption) can occur because AddRef might not be called before returning a pointer.

Database specific
{
    "nvd_published_at": "2021-12-27T00:15:00Z",
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-06T17:46:38Z"
}
References

Affected packages

crates.io / derive-com-impl

Package

Name
derive-com-impl
View open source insights on deps.dev
Purl
pkg:cargo/derive-com-impl

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "affected_functions": [
        "derive_com_impl::derive_com_impl"
    ]
}

Database specific

{
    "last_known_affected_version_range": "< 0.1.2"
}