CVE-2021-33909
Reported by mitre · Published July 20, 2021
fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by an unprivileged user, aka CID-8cae8cd89f05.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 4.14.238-182.422.amzn2 |
| linux | Ubuntu:Pro:16.04:LTS | 4.4.0-212.244 |
| linux-azure-5.8 | Ubuntu:20.04:LTS | 5.8.0-1039.42~20.04.1 |
| linux-aws-5.8 | Ubuntu:20.04:LTS | 5.8.0-1041.43~20.04.1 |
| linux-oem-5.10 | Ubuntu:20.04:LTS | 5.10.0-1038.40 |
| linux-lts-xenial | Ubuntu:Pro:14.04:LTS | 4.4.0-212.244~14.04.1 |
| linux-azure | Ubuntu:Pro:16.04:LTS | 4.15.0-1121.134~16.04.1 |
| linux-gkeop | Ubuntu:20.04:LTS | 5.4.0-1021.22 |
| linux-fips | Ubuntu:Pro:FIPS-updates:20.04:LTS | 5.4.0-1031.36 |
| linux-aws-5.4 | Ubuntu:18.04:LTS | 5.4.0-1054.57~18.04.1 |
| linux-gke-5.3 | Ubuntu:18.04:LTS | 5.3.0-1045.48 |
| linux-oracle | Ubuntu:Pro:16.04:LTS | 4.15.0-1078.86~16.04.1 |
1 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | kernel | 0 |
| n/a | n/a | * |
| arch | linux | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-tools | 0 |
| arch | linux-zen | 0 |
| arch | linux-hardened | 0 |
| amazon:2 | kernel-devel | 0 |
| arch | linux-lts | 0 |
| amazon:2 | kernel-livepatch-4.14.238-182.422 | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-tools-devel | 0 |
Timeline
- Jul 20, 2021 CVE Published
- Jul 21, 2021 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published (6 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch (34 in total, the first dated here)
- Mar 7, 2026 Security Advisory (41 in total, the first dated here)
- Jul 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-33909
vulnetix vdb fixes CVE-2021-33909
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33909/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20210720 [SECURITY] [DLA 2713-2] linux security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210720 [SECURITY] [DLA 2713-1] linux security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210720 [SECURITY] [DLA 2714-1] linux-4.19 security update mailing-listx_refsource_MLIST
- DSA-4941 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2021-07dc0b3eb1 vendor-advisoryx_refsource_FEDORA
- [oss-security] 20210722 Re: CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer mailing-listx_refsource_MLIST
- [oss-security] 20210825 Re: CVE-2021-33909: size_t-to-int vulnerability in Linux's filesystem layer mailing-listx_refsource_MLIST
- [oss-security] 20210916 Containers-optimized OS (COS) membership in the linux-distros list mailing-listx_refsource_MLIST
- [oss-security] 20210917 Re: Containers-optimized OS (COS) membership in the linux-distros list mailing-listx_refsource_MLIST
- [oss-security] 20210920 Re: Containers-optimized OS (COS) membership in the linux-distros list mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM