Security mailing lists by PureSourceCode

RUSTSEC-2022-0049

MEDIUM

iana-time-zone vulnerable to use after free in MacOS / iOS implementation

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.

Published
15 Aug 2022
Last modified
8 Nov 2023
Weakness
CWE-416
Also known as
GHSA-3fg9-hcq5-vxrc
Sources
OSV GHSA-3fg9-hcq5-vxrcJSONOSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io iana-time-zone >= 0.1.43, < 0.1.45 0.1.45

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Aug 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.