Unratedcrates.ioPublished
iana-time-zone vulnerable to use after free in MacOS / iOS implementation
GHSA-3fg9-hcq5-vxrc
- Affected
- crates.io iana-time-zone >= 0.1.43, < 0.1.45
- Fixed in
- 0.1.45· Vendor fix available
- Issue
- 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::toowned(), random memory would be copied.
Recommended action: Upgrade to 0.1.45 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.