RUSTSEC-2022-0049
Dashboard / Vulnerabilities / RUSTSEC-2022-0049
Summary: 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.
References: https://crates.io/crates/iana-time-zone, https://rustsec.org/advisories/RUSTSEC-2022-0049.html, https://github.com/strawlab/iana-time-zone/pull/54, https://github.com/strawlab/iana-time-zone/pull/50#discussion_r945353515
Affected packages
Package
Name: iana-time-zone
Purl: pkg:cargo/iana-time-zone
Affected ranges
Type: SEMVER
Events:
Introduced- 0.1.43
Fixed -0.1.45
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
