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

244 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49280",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-02-26T01:49:39.298Z",
"datePublished": "2025-02-26T01:56:22.662Z",
"dateUpdated": "2026-08-05T08:54:34.949Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:54:34.949Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: prevent underflow in nfssvc_decode_writeargs()\n\nSmatch complains:\n\n\tfs/nfsd/nfsxdr.c:341 nfssvc_decode_writeargs()\n\twarn: no lower bound on 'args->len'\n\nChange the type to unsigned to prevent this issue."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The bug is in NFSD's NFSv2 WRITE XDR decoder (nfssvc_decode_writeargs), reached when nfsd processes RPC calls over the network (TCP/UDP 2049); a remote NFS client triggers it by sending a crafted WRITE with an oversized length field.\nAC:L - The attacker fully controls the WRITE opaque-length field and can reliably choose values such as 0xFFFFFFFF/0xFFFFFFFE/0xFFFFFFFD so the signed max-size check is bypassed and xdr_align_size() wraps to 0, with no conditions outside attacker control.\nPR:N - Typical nfsd deployments accept AUTH_NULL/AUTH_SYS with IP-based exports, so a remote peer that can reach the service needs no real credentials; the vulnerable decode runs after RPC auth flavor acceptance and before filehandle/export write authorization.\nUI:N - Exploitation requires only attacker-sent NFSv2 WRITE RPCs; no victim user or administrator action on the server is needed.\nS:U - Impact stays within the host kernel/nfsd security authority and does not cross a VM, IOMMU, or other separate boundary.\nC:H - On affected kernels the bypass lets decode succeed with a negative len that becomes ULONG_MAX in nfsd_proc_write, so svc_fill_write_vector walks off rq_arg.pages and reads out-of-bounds kernel memory, enabling disclosure via this memory-safety violation.\nI:H - The same ULONG_MAX length causes svc_fill_write_vector to write past rq_vec[RPCSVC_MAXPAGES], yielding an out-of-bounds kernel write that can be leveraged for integrity compromise and control-flow hijacking.\nA:H - Out-of-bounds page/vector walks reliably cause kernel oops/panic or memory corruption crashes in nfsd threads, fully disrupting availability of the NFS server host."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/nfsd/nfsproc.c",
"fs/nfsd/xdr.h"
],
"versions": [
{
"version": "a51b5b737a0be93fae6ea2a18df03ab2359a3f4b",
"lessThan": "614a61e1592051cc42d3c38f899c9f7bdaad8a1d",
"status": "affected",
"versionType": "git"
},
{
"version": "a51b5b737a0be93fae6ea2a18df03ab2359a3f4b",
"lessThan": "2764af8ce0bf03cc43ee4a11897cab96bde6caae",
"status": "affected",
"versionType": "git"
},
{
"version": "a51b5b737a0be93fae6ea2a18df03ab2359a3f4b",
"lessThan": "413d8fefafe531a9442bb623e3fe292a38f88d65",
"status": "affected",
"versionType": "git"
},
{
"version": "a51b5b737a0be93fae6ea2a18df03ab2359a3f4b",
"lessThan": "184416d4b98509fb4c3d8fc3d6dc1437896cc159",
"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/nfsd/nfsproc.c",
"fs/nfsd/xdr.h"
],
"versions": [
{
"version": "5.12",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.12",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.33",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.16.19",
"lessThanOrEqual": "5.16.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.17.2",
"lessThanOrEqual": "5.17.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.18",
"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.12",
"versionEndExcluding": "5.15.33"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.12",
"versionEndExcluding": "5.16.19"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.12",
"versionEndExcluding": "5.17.2"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.12",
"versionEndExcluding": "5.18"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/614a61e1592051cc42d3c38f899c9f7bdaad8a1d"
},
{
"url": "https://git.kernel.org/stable/c/2764af8ce0bf03cc43ee4a11897cab96bde6caae"
},
{
"url": "https://git.kernel.org/stable/c/413d8fefafe531a9442bb623e3fe292a38f88d65"
},
{
"url": "https://git.kernel.org/stable/c/184416d4b98509fb4c3d8fc3d6dc1437896cc159"
}
],
"title": "NFSD: prevent underflow in nfssvc_decode_writeargs()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-49280",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-10-01T19:45:22.983376Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-191",
"description": "CWE-191 Integer Underflow (Wrap or Wraparound)"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-01T19:47:00.943Z"
}
}
]
}
}