Skip to content
Fencer Intel
medium —

GHSA-3fg9-hcq5-vxrc json

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

published 4y ago modified 3y ago also RUSTSEC-2022-0049

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

  • crates.io iana-time-zone 0.1.45

Is GHSA-3fg9-hcq5-vxrc in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
crates.io iana-time-zone
>=0.1.43, <0.1.45
0.1.45

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.