GHSA-3fg9-hcq5-vxrc
medium
iana-time-zone vulnerable to use after free in MacOS / iOS implementation
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0049
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| iana-time-zone (crates.io) | from 0.1.43 before 0.1.45 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-3fg9-hcq5-vxrc changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0049 changed 2023-11-08 | CC0-1.0 |