Files
vuln-cve/data/2022/49xxx/CVE-2022-49785.json
T

143 lines
6.1 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49785",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-05-01T14:05:17.223Z",
"datePublished": "2025-05-01T14:09:18.311Z",
"dateUpdated": "2026-05-11T19:06:44.075Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T19:06:44.075Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/sgx: Add overflow check in sgx_validate_offset_length()\n\nsgx_validate_offset_length() function verifies \"offset\" and \"length\"\narguments provided by userspace, but was missing an overflow check on\ntheir addition. Add it."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/x86/kernel/cpu/sgx/ioctl.c"
],
"versions": [
{
"version": "c6d26d370767fa227fc44b98a8bdad112efdf563",
"lessThan": "5277e3d633a5d4157987f4aff068caa55e36db19",
"status": "affected",
"versionType": "git"
},
{
"version": "c6d26d370767fa227fc44b98a8bdad112efdf563",
"lessThan": "3b1c10fb754b0b67165e3f055a4208e5ba26dc89",
"status": "affected",
"versionType": "git"
},
{
"version": "c6d26d370767fa227fc44b98a8bdad112efdf563",
"lessThan": "f0861f49bd946ff94fce4f82509c45e167f63690",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/x86/kernel/cpu/sgx/ioctl.c"
],
"versions": [
{
"version": "5.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.11",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.81",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0.10",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1",
"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.11",
"versionEndExcluding": "5.15.81"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.11",
"versionEndExcluding": "6.0.10"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.11",
"versionEndExcluding": "6.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19"
},
{
"url": "https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89"
},
{
"url": "https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690"
}
],
"title": "x86/sgx: Add overflow check in sgx_validate_offset_length()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}