nday
CVE-2026-84243

gettext: Directory traversal via the LANGUAGE environment variable

The GNU C Library / glibc

披露当天出现技术分析。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型path traversal 攻击途径本地无需用户交互 产品glibc 产品类型开源库/框架
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

path traversal
CWE-22(来源:编号分配方 glibc、NVD(转录自 3ff69d7a-14f2-4f67-a097-88dee7810d18))
本地
编号分配方 glibc 给出的 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:L
无需用户交互
编号分配方 glibc 给出的 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
glibc
CVE 记录列出的受影响产品:The GNU C Library · glibc
开源库/框架
CVE 记录列出的受影响产品:The GNU C Library · glibcnday 产品登记表中 glibc 的产品类型
当前阶段
ANA
披露
CVSS
7.0 HIGH v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
10-30T17:43Z
PAT补丁
尚无记录
ANA分析
10-30T17:44Z
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

The gettext family of functions in the GNU C Library version 2.0 and later accept LANGUAGE environment variable entries that contain '/' or that are equal to "..", unless the program is setuid or setgid (AT_SECURE). An attacker who can set LANGUAGE in the environment of a program that uses gettext can make it load a message catalog (.mo file) from an arbitrary location in the file system. A crafted .mo file can crash the program through out-of-range offsets, or supply translations whose format directives do not match the arguments passed by the program. That causes undefined behaviour in the printf family of functions and may allow arbitrary code execution with the privileges of the program. The safety of message catalogs relies on them being installed in trusted, read-only locations, and the directory traversal bypasses this.

The fix for CVE-2014-0475 rejects ".." path components in locale names passed to setlocale or taken from the LC_ALL, LC_* and LANG environment variables. gettext reads LANGUAGE directly and appends each colon-separated entry to the message catalog directory, so that fix did not cover LANGUAGE.

LANGUAGE is only used when the LC_MESSAGES locale is not "C", "C.<encoding>" or "POSIX", so the attacker must also be able to select another installed locale, for example through LANG or LC_ALL. Exploitation also requires that the attacker can place the crafted file in a location readable by the target program, and that the environment crosses a trust boundary without the program running as AT_SECURE. An example is an SSH server that accepts LANGUAGE and LANG from clients through the AcceptEnv directive and restricts an account to a forced command; the attacker may use this to escape the restriction.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L
本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:H
高:能否成功取决于攻击者无法控制的条件,例如须先收集目标信息或赢得竞态
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 向量,来自 CVE 记录,由 CNA glibc 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 glibc。CVSS 7,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 448877,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-84243",
  "occurred_at": "2026-10-30T17:43:35.178Z",
  "observed_at": "2026-11-13T05:40:13.149746Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-10-30T00:00:00+00:00",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-30T17:43:35.178Z",
    "assigner_short_name": "glibc"
  }
}
+ANA技术分析

oss-security 邮件列表发帖:“The GNU C Library security advisories update for 2026-10-30”。

来源 osssec 2026/q4/453 · 本站 实时观测 · 原始记录
{
  "id": 496049,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/453",
  "occurred_at": "2026-10-30T17:44:55Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/453",
  "detail": {
    "list": "oss-security",
    "author": "Adhemerval Zanella Netto",
    "subject": "The GNU C Library security advisories update for 2026-10-30",
    "is_reply": false
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。