Files
vuln-cve/data/2023/52xxx/CVE-2023-52640.json
T

275 lines
13 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-52640",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-03-06T09:52:12.093Z",
"datePublished": "2024-04-03T17:00:10.216Z",
"dateUpdated": "2026-08-05T09:10:51.122Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:10:51.122Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix oob in ntfs_listxattr\n\nThe length of name cannot exceed the space occupied by ea."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"baseScore": 7.1,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The vulnerable path is ntfs3 on-disk EA parsing reached via the local listxattr syscall on a mounted NTFS volume (USB/loop/NBD image); no network protocol handler is involved.\nAC:L - A crafted NTFS image with an EA whose name_len exceeds ea_size deterministically triggers the slab OOB read on listxattr with no race or other condition outside the attacker's control.\nPR:L - vfs_listxattr does not require MAY_READ—only path reachability and LSM listxattr hooks—so an unprivileged local user who can reach a file on a mounted NTFS volume can invoke the vulnerable path.\nUI:N - Once an NTFS volume is mounted (common for removable/dual-boot/shared storage, including automount), the attacker triggers the bug solely by calling listxattr with no further victim interaction.\nS:U - Impact is confined to the local kernel's memory and availability authority; this is standard kernel memory-safety impact with no VM, IOMMU, or sandbox boundary crossed.\nC:H - The slab OOB read in ntfs_list_ea memcpy's attacker-influenced lengths of adjacent slab memory into the listxattr buffer that is copied to userspace, enabling kernel heap disclosure.\nI:N - The defect is an out-of-bounds read only; memcpy destinations are the legitimate list buffer under a size check, with no OOB write or other kernel integrity corruption primitive.\nA:H - The OOB access causes KASAN slab-out-of-bounds faults and can oops/panic the kernel when invalid EA iteration touches unmapped or poisoned slab memory, enabling denial of service."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/ntfs3/xattr.c"
],
"versions": [
{
"version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
"lessThan": "a585faf0591548fe0920641950ebfa8a6eefe1cd",
"status": "affected",
"versionType": "git"
},
{
"version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
"lessThan": "6ed6cdbe88334ca3430c5aee7754dc4597498dfb",
"status": "affected",
"versionType": "git"
},
{
"version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
"lessThan": "52fff5799e3d1b5803ecd2f5f19c13c65f4f7b23",
"status": "affected",
"versionType": "git"
},
{
"version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
"lessThan": "0830c5cf19bdec50d0ede4755ddc463663deb21c",
"status": "affected",
"versionType": "git"
},
{
"version": "4534a70b7056fd4b9a1c6db5a4ce3c98546b291e",
"lessThan": "731ab1f9828800df871c5a7ab9ffe965317d3f15",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/ntfs3/xattr.c"
],
"versions": [
{
"version": "5.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.15",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.150",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.80",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.19",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.7.7",
"lessThanOrEqual": "6.7.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.8",
"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": "5.15",
"versionEndExcluding": "5.15.150"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.1.80"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.6.19"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.7.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.8"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/a585faf0591548fe0920641950ebfa8a6eefe1cd"
},
{
"url": "https://git.kernel.org/stable/c/6ed6cdbe88334ca3430c5aee7754dc4597498dfb"
},
{
"url": "https://git.kernel.org/stable/c/52fff5799e3d1b5803ecd2f5f19c13c65f4f7b23"
},
{
"url": "https://git.kernel.org/stable/c/0830c5cf19bdec50d0ede4755ddc463663deb21c"
},
{
"url": "https://git.kernel.org/stable/c/731ab1f9828800df871c5a7ab9ffe965317d3f15"
}
],
"title": "fs/ntfs3: Fix oob in ntfs_listxattr",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T23:03:21.274Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/a585faf0591548fe0920641950ebfa8a6eefe1cd",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/6ed6cdbe88334ca3430c5aee7754dc4597498dfb",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/52fff5799e3d1b5803ecd2f5f19c13c65f4f7b23",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/0830c5cf19bdec50d0ede4755ddc463663deb21c",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/731ab1f9828800df871c5a7ab9ffe965317d3f15",
"tags": [
"x_transferred"
]
}
]
},
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-52640",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-09-10T15:52:10.390866Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-09-11T17:32:51.801Z"
}
}
]
}
}