rustsec-2022-0049
Vulnerability from osv_rustsec
Published
2022-08-15 12:00
Modified
2023-06-13 13:10
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": [
{
"database_specific": {
"categories": [
"memory-exposure"
],
"cvss": null,
"informational": "unsound"
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"iana_time_zone::get_timezone"
],
"os": [
"ios",
"macos"
]
}
},
"package": {
"ecosystem": "crates.io",
"name": "iana-time-zone",
"purl": "pkg:cargo/iana-time-zone"
},
"ranges": [
{
"events": [
{
"introduced": "0.1.43"
},
{
"fixed": "0.1.45"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-3fg9-hcq5-vxrc"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "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.",
"id": "RUSTSEC-2022-0049",
"modified": "2023-06-13T13:10:24Z",
"published": "2022-08-15T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/iana-time-zone"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2022-0049.html"
},
{
"type": "WEB",
"url": "https://github.com/strawlab/iana-time-zone/pull/54"
},
{
"type": "WEB",
"url": "https://github.com/strawlab/iana-time-zone/pull/50#discussion_r945353515"
}
],
"related": [],
"severity": [],
"summary": "Use after free in MacOS / iOS implementation"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…