- Reported
-
- Issued
-
- Package
-
iana-time-zone
(crates.io)
- Type
-
INFO
Unsound
- Categories
-
- Aliases
-
- References
-
- Patched
-
- Unaffected
-
- Affected OSes
-
- Affected Functions
- Version
iana_time_zone::get_timezone
-
Description
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.
Advisory available under CC0-1.0
license.