| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: conntrack: Make global sysctls readonly in non-init netns\n\nThese sysctls point to global variables:\n- NF_SYSCTL_CT_MAX (&nf_conntrack_max)\n- NF_SYSCTL_CT_EXPECT_MAX (&nf_ct_expect_max)\n- NF_SYSCTL_CT_BUCKETS (&nf_conntrack_htable_size_user)\n\nBecause their data pointers are not updated to point to per-netns\nstructures, they must be marked read-only in a non-init_net ns.\nOtherwise, changes in any net namespace are reflected in (leaked into)\nall other net namespaces. This problem has existed since the\nintroduction of net namespaces.\n\nThe current logic marks them read-only only if the net namespace is\nowned by an unprivileged user (other than init_user_ns).\n\nCommit d0febd81ae77 (\"netfilter: conntrack: re-visit sysctls in\nunprivileged namespaces\") \"exposes all sysctls even if the namespace is\nunpriviliged.\" Since we need to mark them readonly in any case, we can\nforego the unprivileged user check altogether." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "versions": [ |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "da50f56e826e", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "68122479c128", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "9b288479f7a9", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "baea536cf51f", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "d3598eb3915c", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "fbf85a34ce17", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "671c54ea8c7f", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "d0febd81ae77", |
| "lessThan": "2671fa4dc010", |
| "status": "affected", |
| "versionType": "git" |
| } |
| ] |
| }, |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "affected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "versions": [ |
| { |
| "version": "5.7", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "5.7", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "4.9.269", |
| "lessThanOrEqual": "4.9.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "4.14.233", |
| "lessThanOrEqual": "4.14.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "4.19.191", |
| "lessThanOrEqual": "4.19.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "5.4.120", |
| "lessThanOrEqual": "5.4.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "5.10.35", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "5.11.19", |
| "lessThanOrEqual": "5.11.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "5.12.2", |
| "lessThanOrEqual": "5.12.*", |
| "status": "unaffected", |
| "versionType": "custom" |
| }, |
| { |
| "version": "5.13", |
| "lessThanOrEqual": "*", |
| "status": "unaffected", |
| "versionType": "original_commit_for_fix" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/da50f56e826e1db141693297afb99370ebc160dd" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/68122479c128a929f8f7bdd951cfdc8dd0e75b8f" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/9b288479f7a901a14ce703938596438559d7df55" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/baea536cf51f8180ab993e374cb134b5edad25e2" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/d3598eb3915cc0c0d8cab42f4a6258ff44c4033e" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/fbf85a34ce17c4cf0a37ee253f4c582bbfb8231b" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/671c54ea8c7ff47bd88444f3fffb65bf9799ce43" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/2671fa4dc0109d3fb581bc3078fdf17b5d9080f6" |
| } |
| ], |
| "title": "netfilter: conntrack: Make global sysctls readonly in non-init netns", |
| "x_generator": { |
| "engine": "bippy-c298863b1525" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2021-46975", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |