在 GNU C Library(glibc)2.26 到 2.44 版本中,当从 文件或 环境变量初始化 DNS 桩解析器(stub resolver)时,如果其搜索列表中包含一个长度约为 200 个字符或更长的域名,会导致断言失败,从而使进程中止(abort)。 具体机制如下:解析器在将搜索列表复制到固定大小的 缓冲区时会对其进行截断,随后会执行一个断言,以校验该副本是否与完整配置保持一致。然而,该一致性检查使用了错误的大小进行比较,且未能正确处理第一个条目无法完整放入缓冲区的场景,导致正确截断后的列表在断言时失
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| The GNU C Library | glibc | 2.26≤ 2.44 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| The GNU C Library | glibc | 2.26 ~ 2.44 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet