Files
vuln-cve/data/2019/25xxx/CVE-2019-25160.json
T

358 lines
18 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2019-25160",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-02-26T17:07:20.465Z",
"datePublished": "2024-02-26T17:20:19.490Z",
"dateUpdated": "2026-08-05T08:43:45.278Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:43:45.278Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: fix out-of-bounds memory accesses\n\nThere are two array out-of-bounds memory accesses, one in\ncipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk(). Both\nerrors are embarassingly simple, and the fixes are straightforward.\n\nAs a FYI for anyone backporting this patch to kernels prior to v4.8,\nyou'll want to apply the netlbl_bitmap_walk() patch to\ncipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before\nLinux v4.8."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"baseScore": 9.1,
"baseSeverity": "CRITICAL"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - Crafted IPv4 packets with CIPSO options reach the bug via ip_rcv_finish_core -> ip_rcv_options -> ip_options_compile -> cipso_v4_validate -> cipso_v4_map_lvl_valid/netlbl_bitmap_walk, with no local access required. This is a net/ stack path processing remote peer packet data.\nAC:L - With a CIPSO MAP_TRANS DOI configured (the labeled-networking deployment this subsystem targets), an attacker reliably triggers the OOB by setting an out-of-range level byte or category bitmap; DOI values are probeable via ICMP parameter-problem offsets. No race or other attacker-uncontrollable condition is required.\nPR:N - Incoming skbs take the CIPSO path in __ip_options_compile without CAP_NET_RAW or any authentication; the privilege check applies only when skb is NULL (setsockopt). A remote unauthenticated sender can trigger the vulnerable validation.\nUI:N - Exploitation requires only sending crafted IP packets to the host; no victim user action is needed.\nS:U - Impact is confined to the receiving kernel's NetLabel/CIPSO processing and memory; there is no VM escape, IOMMU bypass, or other cross-authority boundary crossing.\nC:H - cipso_v4_map_lvl_valid indexes an attacker-controlled u8 into the DOI level array without a size check, enabling a large kernel heap OOB read (up to ~1KB when cipso_size is small). Per guidance, unbounded OOB reads score Confidentiality High.\nI:N - Both defects are out-of-bounds reads with no write, UAF, or control-flow corruption primitive; later map_lvl_ntoh still bounds-checks before applying labels, so there is no integrity impact.\nA:H - The OOB reads can fault on unmapped pages and cause a kernel oops/panic, and a remote attacker can trigger them repeatedly for DoS against CIPSO-enabled hosts."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/ipv4/cipso_ipv4.c",
"net/netlabel/netlabel_kapi.c"
],
"versions": [
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "97bc3683c24999ee621d847c9348c75d2fe86272",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "c61d01faa5550e06794dcf86125ccd325bfad950",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "dc18101f95fa6e815f426316b8b9a5cee28a334e",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "fcfe700acdc1c72eab231300e82b962bac2b2b2c",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "e3713abc4248aa6bcc11173d754c418b02a62cbb",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "fbf9578919d6c91100ec63acf2cba641383f6c78",
"status": "affected",
"versionType": "git"
},
{
"version": "446fda4f26822b2d42ab3396aafcedf38a9ff2b6",
"lessThan": "5578de4834fe0f2a34fedc7374be691443396d1f",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/ipv4/cipso_ipv4.c",
"net/netlabel/netlabel_kapi.c"
],
"versions": [
{
"version": "2.6.19",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.19",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "3.16.66",
"lessThanOrEqual": "3.16.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "3.18.137",
"lessThanOrEqual": "3.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.4.177",
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.9.163",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.106",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.28",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.20.15",
"lessThanOrEqual": "4.20.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.0",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "3.16.66"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "3.18.137"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "4.4.177"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "4.9.163"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "4.14.106"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "4.19.28"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "4.20.15"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.19",
"versionEndExcluding": "5.0"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272"
},
{
"url": "https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950"
},
{
"url": "https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e"
},
{
"url": "https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000"
},
{
"url": "https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c"
},
{
"url": "https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb"
},
{
"url": "https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78"
},
{
"url": "https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f"
}
],
"title": "netlabel: fix out-of-bounds memory accesses",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2019-25160",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-02-27T16:02:54.112450Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:12:00.236Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T03:00:19.401Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f",
"tags": [
"x_transferred"
]
}
]
}
]
}
}