GHSA-3fg9-hcq5-vxrc

Suggest an improvement
Source
https://github.com/advisories/GHSA-3fg9-hcq5-vxrc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-3fg9-hcq5-vxrc/GHSA-3fg9-hcq5-vxrc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3fg9-hcq5-vxrc
Aliases
Published
2022-08-30T19:55:41Z
Modified
2023-11-08T04:14:35.913675Z
Summary
iana-time-zone vulnerable to use after free in MacOS / iOS implementation
Details

In iana-time-zone v0.1.43 a use-after-free bug in the MacOS / iOS implementation was introduced.

The copied system time zone was released before its name was copied. If the system time zone was changed between the call of CFRelease and str::to_owned(), random memory would be copied.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-416"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-30T19:55:41Z"
}
References

Affected packages

crates.io / iana-time-zone

Package

Name
iana-time-zone
View open source insights on deps.dev
Purl
pkg:cargo/iana-time-zone

Affected ranges

Type
SEMVER
Events
Introduced
0.1.43
Fixed
0.1.45