RUSTSEC-2022-0049

    Dashboard / Vulnerabilities / RUSTSEC-2022-0049

    RUSTSEC-2022-0049

    Published: 15 Aug 2022Last Modified: 8 Nov 2023

    Summary: Use after free in MacOS / iOS implementation

    Details: 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 packages

    Package

    Name: iana-time-zone

    Purl: pkg:cargo/iana-time-zone

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.1.43
    Fixed -0.1.45

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2022-0049 | CVE-DB