{"answers":{"affected":"3 open source packages ship an affected version, including iana-time-zone.","exploited":"There is no known exploitation of GHSA-3fg9-hcq5-vxrc in the wild and no public exploit code.","fix":"Upgrade iana-time-zone to 0.1.45 or later.","what":"GHSA-3fg9-hcq5-vxrc is an use after free vulnerability in iana-time-zone, published on 15 Aug 2022."},"fix_prompt":"Check this codebase for GHSA-3fg9-hcq5-vxrc and fix it if it is affected.\n\nWhat it is: GHSA-3fg9-hcq5-vxrc is an use after free vulnerability in iana-time-zone, published on 15 Aug 2022. \nExploitation: There is no known exploitation of GHSA-3fg9-hcq5-vxrc in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- iana-time-zone (crates.io): affected from 0.1.43; fixed in 0.1.45\n- iana-time-zone (crates.io): affected from 0.1.43; fixed in 0.1.45\n- iana-time-zone (crates.io): affected from 0.1.43; fixed in 0.1.45\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-3fg9-hcq5-vxrc/ (Markdown: https://insights.sbomify.com/GHSA-3fg9-hcq5-vxrc/index.md)","id":"GHSA-3fg9-hcq5-vxrc","markdown":"https://insights.sbomify.com/GHSA-3fg9-hcq5-vxrc/index.md","name":"GHSA-3fg9-hcq5-vxrc","record":{"aliases":["RUSTSEC-2022-0049"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust time zone library","requires_auth":"none","summary":"A use-after-free bug in the MacOS/iOS implementation allows attackers to read random memory or execute code if the system time zone changes during execution.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In iana-time-zone v0.1.43 a use-after-free bug in the MacOS / iOS implementation was introduced.\n\nThe copied system time zone was released before its name was copied.\nIf the system time zone was changed between the call of `CFRelease` and `str::to_owned()`,\nrandom memory would be copied.","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"iana-time-zone vulnerable to use after free in MacOS / iOS implementation","id":"GHSA-3fg9-hcq5-vxrc","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"use_after_free","year":"2022"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.1.45"],"introduced":["0.1.43"],"last_affected":[],"package":"iana-time-zone","purl":null,"source":"GHSA-3fg9-hcq5-vxrc"},{"ecosystem":"crates.io","fixed":["0.1.45"],"introduced":["0.1.43"],"last_affected":[],"package":"iana-time-zone","purl":"pkg:cargo/iana-time-zone","source":"GHSA-3fg9-hcq5-vxrc"},{"ecosystem":"crates.io","fixed":["0.1.45"],"introduced":["0.1.43"],"last_affected":[],"package":"iana-time-zone","purl":"pkg:cargo/iana-time-zone","source":"RUSTSEC-2022-0049"}],"products":null,"published":"2022-08-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A use-after-free bug in the MacOS/iOS implementation allows attackers to read random memory or execute code if the system time zone changes during execution.","url":"https://insights.sbomify.com/GHSA-3fg9-hcq5-vxrc/"}