ubuntu-cve-2022-2526
Vulnerability from osv_ubuntu
Published
2022-08-24 00:00
Modified
2026-04-22 07:41
Summary
Details
A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.
Severity
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libnss-myhostname",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libnss-mymachines",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libnss-resolve",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libnss-systemd",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libpam-systemd",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libsystemd0",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "libudev1",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd-container",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd-coredump",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd-journal-remote",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd-sysv",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "systemd-tests",
"binary_version": "237-3ubuntu10.54"
},
{
"binary_name": "udev",
"binary_version": "237-3ubuntu10.54"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "systemd",
"purl": "pkg:deb/ubuntu/systemd@237-3ubuntu10.54?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "237-3ubuntu10.54"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"234-2ubuntu12",
"235-2ubuntu3",
"235-3ubuntu2",
"235-3ubuntu3",
"237-3ubuntu3",
"237-3ubuntu4",
"237-3ubuntu6",
"237-3ubuntu7",
"237-3ubuntu8",
"237-3ubuntu10",
"237-3ubuntu10.2",
"237-3ubuntu10.3",
"237-3ubuntu10.4",
"237-3ubuntu10.6",
"237-3ubuntu10.9",
"237-3ubuntu10.11",
"237-3ubuntu10.12",
"237-3ubuntu10.13",
"237-3ubuntu10.15",
"237-3ubuntu10.17",
"237-3ubuntu10.19",
"237-3ubuntu10.20",
"237-3ubuntu10.21",
"237-3ubuntu10.22",
"237-3ubuntu10.23",
"237-3ubuntu10.24",
"237-3ubuntu10.25",
"237-3ubuntu10.26",
"237-3ubuntu10.28",
"237-3ubuntu10.29",
"237-3ubuntu10.31",
"237-3ubuntu10.33",
"237-3ubuntu10.38",
"237-3ubuntu10.39",
"237-3ubuntu10.40",
"237-3ubuntu10.41",
"237-3ubuntu10.42",
"237-3ubuntu10.43",
"237-3ubuntu10.44",
"237-3ubuntu10.45",
"237-3ubuntu10.46",
"237-3ubuntu10.47",
"237-3ubuntu10.48",
"237-3ubuntu10.49",
"237-3ubuntu10.50",
"237-3ubuntu10.51",
"237-3ubuntu10.52",
"237-3ubuntu10.53"
]
}
],
"aliases": [],
"details": "A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in \u0027resolved-dns-stream.c\u0027 not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.",
"id": "UBUNTU-CVE-2022-2526",
"modified": "2026-04-22T07:41:15Z",
"published": "2022-08-24T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-2526"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5583-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5583-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-2526"
}
],
"related": [
"USN-5583-1",
"USN-5583-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-2526"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…