glibc: Stack-based buffer overflow in svcunix_create via long pathnames
Published Jan 14, 2022
9.8
CRITICALCVSS 3.1
EPSS 4.82%
Description
The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.
Affected products
No data.
Configuration 2
- 22.2.0
- 4.3
- 4.4
- 5.0
Configuration 3
- 10.0
No data.
Red Hat Enterprise Linux 8
glibc-0:2.28-164.el8_5.3
Fixed · RHSA-2022:0896
Red Hat Enterprise Linux 8
glibc-0:2.28-164.el8_5.3
Fixed · RHSA-2022:0896
Red Hat Enterprise Linux 6
compat-glibc
Out of support scope
Red Hat Enterprise Linux 6
glibc
Out of support scope
Red Hat Enterprise Linux 7
compat-glibc
Out of support scope
Red Hat Enterprise Linux 7
glibc
Out of support scope
Red Hat Enterprise Linux 9
glibc
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | glibc-0:2.28-164.el8_5.3 | Fixed | RHSA-2022:0896 |
| Red Hat Enterprise Linux 8 | glibc-0:2.28-164.el8_5.3 | Fixed | RHSA-2022:0896 |
| Red Hat Enterprise Linux 6 | compat-glibc | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | glibc | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | compat-glibc | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | glibc | Out of support scope | n/a |
| Red Hat Enterprise Linux 9 | glibc | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 6 and 7, hence, marked as Out-of-Support-Scope. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ Red Hat Enterprise Linux 9 is not affected by this CVE as the fix was backported to glibc-2.34 and included in the 9.0 GA release.
Red Hat mitigation
An application built with stack protector enabled can mitigate this issue.
References (8)
- https://access.redhat.com/security/cve/CVE-2022-23218 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2042013 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html mailing-listMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-23218
- https://security.gentoo.org/glsa/202208-24 vendor-advisoryThird Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=28768 ExploitIssue TrackingThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-23218
- https://www.oracle.com/security-alerts/cpujul2022.html PatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-23218 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2042013 | Issue Tracking | |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | mailing-listMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-23218 | ||
| https://security.gentoo.org/glsa/202208-24 | vendor-advisoryThird Party Advisory | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=28768 | ExploitIssue TrackingThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-23218 | ||
| https://www.oracle.com/security-alerts/cpujul2022.html | PatchThird Party Advisory |
Change history (0)
No recorded changes yet.