GHSA-9682-f2fr-3h46
Record from GitHub Advisory Database · Published August 27, 2022
A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to effective UID, and real GID equal to effective GID. The descendant will then have a dumpable value set to 1. As a result, if the descendant process crashes and core_pattern is set to a relative value, its core dump is stored in the current directory with uid:gid permissions. An unprivileged local user with eligible root SUID binary could use this flaw to place core dumps into root-owned directories, potentially resulting in escalation of privileges.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-qemu-6.18 | Chainguard | 6.18.10-r0 |
| linux-qemu-melange | Chainguard | 6.18.16-r0 |
| linux-vmware-6.12 | Chainguard | 6.12.71-r0 |
| linux-qemu-6.12 | Chainguard | 6.12.71-r0 |
| linux-vmware-6.18 | Chainguard | 6.18.10-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | linux-gcp-6.18 | * |
| chainguard | linux-qemu-rc | * |
| chainguard | linux | * |
| chainguard | linux-gcp-6.12 | * |
| chainguard | linux-qemu-6.18 | 0 |
| chainguard | linux-azure-generic | * |
| chainguard | linux-qemu-generic | * |
| chainguard | linux-qemu-melange | 0 |
| chainguard | linux-azure-6.18 | * |
| chainguard | linux-vmware-6.12 | 0 |
| chainguard | linux-vmware-generic | * |
| chainguard | linux-aws-generic | * |
| chainguard | linux-aws-6.12 | * |
| chainguard | linux-azure-6.12 | * |
| chainguard | linux-gcp-generic | * |
| chainguard | linux-qemu-6.12 | 0 |
| chainguard | linux-aws-6.18 | * |
| chainguard | linux-vmware-6.18 | 0 |
Timeline
- Aug 27, 2022 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-9682-f2fr-3h46
vulnetix vdb fixes GHSA-9682-f2fr-3h46
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/GHSA-9682-f2fr-3h46/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3864 advisory
- https://access.redhat.com/security/cve/CVE-2021-3864 url
- https://bugzilla.redhat.com/show_bug.cgi?id=2015046 url
- https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com url
- https://lore.kernel.org/all/20211221021744.864115-1-longman@redhat.com url
- https://www.openwall.com/lists/oss-security/2021/10/20/2 url
- https://lore.kernel.org/all/20211226150310.GA992%401wt.eu url
- https://lore.kernel.org/all/20211226150310.GA992@1wt.eu url
- https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com url
- https://lore.kernel.org/lkml/20211228170910.623156-1-wander@redhat.com url
- https://security-tracker.debian.org/tracker/CVE-2021-3864 url