GHSA-4hj9-rwwj-2hgv
Record from GitHub Advisory Database · Published May 2, 2022
fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.
Risk scores
Timeline
- May 2, 2022 CVE Published
- Apr 9, 2026 Distribution Patch (2 in total, the first dated here)
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-4hj9-rwwj-2hgv
vulnetix vdb fixes GHSA-4hj9-rwwj-2hgv
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-4hj9-rwwj-2hgv/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45539 url
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511 url
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git%3Ba=commit%3Bh=7b82dc0e64e93f430182f36b46b79fcee87d3532 url
- http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=7b82dc0e64e93f430182f36b46b79fcee87d3532 url
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html url
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html url
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html url
- http://rhn.redhat.com/errata/RHSA-2008-0972.html url
- http://secunia.com/advisories/32356 url
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 url
- http://www.redhat.com/support/errata/RHSA-2008-0957.html url
- http://www.ubuntu.com/usn/usn-679-1 url
- http://secunia.com/advisories/33280 url
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386 url
- http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 url
- http://secunia.com/advisories/32344 url
- http://secunia.com/advisories/32485 url
- http://www.debian.org/security/2008/dsa-1653 url
- http://www.openwall.com/lists/oss-security/2008/09/24/5 url
- http://www.openwall.com/lists/oss-security/2008/09/24/8 url
…and 13 more