glibc: Stack-based buffer overflow in sunrpc clnt_create via a long pathname
Published Jan 14, 2022
9.8
CRITICALCVSS 3.1
EPSS 4.29%
Description
The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname 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.1.3
- 22.1.0
- 22.1.2
- 22.2.0
- 22.1.1
- 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Apr 23, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 4.29% (0.04293) | 90.83th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.18% (0.04177) | 89.57th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.40% (0.00405) | 60.31th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.22% (0.02216) | 83.12th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.42% (0.00418) | 59.68th | v4 (v2025.03.14) |
| Dec 17, 2024 | 0.74% (0.00745) | 80.75th | v3 (v2023.03.01) |
| Dec 12, 2024 | 1.88% (0.01877) | 88.92th | v3 (v2023.03.01) |
| Jul 12, 2024 | 1.29% (0.01291) | 85.93th | v3 (v2023.03.01) |
| Apr 7, 2024 | 0.91% (0.00913) | 82.52th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.46% (0.00455) | 74.50th | v3 (v2023.03.01) |
| Oct 4, 2023 | 0.46% (0.00455) | 72.33th | v3 (v2023.03.01) |
| Sep 5, 2023 | 0.45% (0.00447) | 71.86th | v3 (v2023.03.01) |
| Aug 7, 2023 | 0.24% (0.00237) | 60.98th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.19% (0.00187) | 55.09th | v3 (v2023.03.01) |
| Jun 27, 2023 | 0.18% (0.00178) | 53.78th | v3 (v2023.03.01) |
| May 8, 2023 | 0.17% (0.00165) | 51.70th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00193) | 55.20th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.40% (0.02398) | 81.51th | v2 (v2022.01.01) |
| Aug 15, 2022 | 2.40% (0.02398) | 80.53th | v2 (v2022.01.01) |
| Jul 26, 2022 | 1.44% (0.01440) | 72.38th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.09% (0.01086) | 49.83th | v2 (v2022.01.01) |
| Feb 8, 2022 | 1.09% (0.01086) | 28.73th | v2 (v2022.01.01) |
References (8)
- https://access.redhat.com/security/cve/CVE-2022-23219 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2042017 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-23219
- https://security.gentoo.org/glsa/202208-24 vendor-advisoryThird Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=22542 ExploitIssue TrackingThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-23219
- https://www.oracle.com/security-alerts/cpujul2022.html PatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-23219 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2042017 | 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-23219 | ||
| https://security.gentoo.org/glsa/202208-24 | vendor-advisoryThird Party Advisory | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=22542 | ExploitIssue TrackingThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-23219 | ||
| https://www.oracle.com/security-alerts/cpujul2022.html | PatchThird Party Advisory |
Change history (0)
No recorded changes yet.