The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname arg
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.
- Published
- Jan 14, 2022
- Updated
- Jun 17, 2026
- EPSS
- 4.3% · 91th percentile
- CWE
- CWE-120
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.3%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| gnu | glibc | cpe:2.3:a:gnu:glibc |
| oracle | communications cloud native core binding support function | cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function |
| oracle | communications cloud native core network function cloud native environment | cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment |
| oracle | communications cloud native core network repository function | cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function |
| oracle | communications cloud native core security edge protection proxy | cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy |
| oracle | communications cloud native core unified data repository | cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository |
| oracle | enterprise operations monitor | cpe:2.3:a:oracle:enterprise_operations_monitor |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- gnu glibcbefore 2.31
- oracle communications cloud native core binding support function22.1.3
- oracle communications cloud native core network function cloud native environment22.1.0
- oracle communications cloud native core network repository function22.1.2
- oracle communications cloud native core network repository function22.2.0
- oracle communications cloud native core security edge protection proxy22.1.1
- oracle communications cloud native core unified data repository22.2.0
- oracle enterprise operations monitor4.3
- oracle enterprise operations monitor4.4
- oracle enterprise operations monitor5.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | compat-libpthread-nonshared | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| AlmaLinux:8 | glibc-benchtests | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| AlmaLinux:8 | glibc-nss-devel | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| AlmaLinux:8 | glibc-static | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| AlmaLinux:8 | glibc-utils | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| AlmaLinux:8 | nss_hesiod | before 2.28-164.el8_5.3 | 2.28-164.el8_5.3 |
| Debian:10 | glibc | before 2.28-10+deb10u2 | 2.28-10+deb10u2 |
| Debian:12 | glibc | before 2.33-3 | 2.33-3 |
| openSUSE:Leap 15.3 | glibc | before 2.31-150300.9.12.1 | 2.31-150300.9.12.1 |
| openSUSE:Tumbleweed | glibc | before 2.35-1.1 | 2.35-1.1 |
| Red Hat:enterprise_linux:8::appstream | compat-libpthread-nonshared | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::appstream | glibc-debuginfo | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::appstream | glibc-debuginfo-common | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::appstream | glibc-utils | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-all-langpacks | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-common | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-devel | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-headers | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-langpack-aa | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-langpack-af | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-langpack-agr | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-langpack-ak | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
| Red Hat:enterprise_linux:8::baseos | glibc-langpack-am | before 0:2.28-164.el8_5.3 | 0:2.28-164.el8_5.3 |
+96
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-4911Glibc: buffer overflow in ld.so leading to privilege escalationKEV85Now
- CVE-2015-0235Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-depen68This week
- CVE-2015-7547Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc 59Plan
- CVE-2024-2961The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converti55Plan
- CVE-2018-11236stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpa41Plan
- CVE-2015-8779Stack-based buffer overflow in the catopen function in the GNU C Library (aka glibc or libc6) before 2.23 allows context-dependent attackers41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:compat-libpthread-nonshared | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:glibc-benchtests | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:glibc-nss-devel | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:glibc-static | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:glibc-utils | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:nss_hesiod | 2.28-164.el8_5.3 · AlmaLinux:8 | Package registry (OSV) |
| debian:glibc | 2.33-3 · Debian:12 | Package registry (OSV) |
| opensuse:glibc | 2.31-150300.9.12.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:compat-libpthread-nonshared | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:glibc | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-all-langpacks | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-common | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-debuginfo | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:glibc-debuginfo-common | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:glibc-devel | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-headers | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-langpack-aa | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-langpack-af | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-langpack-agr | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:glibc-utils | 0:2.28-164.el8_5.3 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:glibc | 0:2.28-164.el8_5.3 · Rocky Linux:8 | Package registry (OSV) |
| suse:glibc | 2.31-150300.9.12.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];if (pkt->len > sizeof(buf)) { return -EINVAL;}memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.debian.org/debian-lts-announce/2022/10/msg00021.html
- security.gentoo.org/glsa/202208-24
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.