{"id":"GHSA-3fg9-hcq5-vxrc","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.\n\nThe copied system time zone was released before its name was copied.\nIf the system time zone was changed between the call of `CFRelease` and `str::to_owned()`,\nrandom memory would be copied.\n","aliases":["RUSTSEC-2022-0049"],"modified":"2023-11-08T04:14:35.913675Z","published":"2022-08-30T19:55:41Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-08-30T19:55:41Z","nvd_published_at":null,"cwe_ids":["CWE-416"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/strawlab/iana-time-zone/pull/54"},{"type":"PACKAGE","url":"https://github.com/strawlab/iana-time-zone"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0049.html"}],"affected":[{"package":{"name":"iana-time-zone","ecosystem":"crates.io","purl":"pkg:cargo/iana-time-zone"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.43"},{"fixed":"0.1.45"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-3fg9-hcq5-vxrc/GHSA-3fg9-hcq5-vxrc.json"}}],"schema_version":"1.9.0"}