nday
CVE-2026-123370 GHSA-65v8-q222-64xx

compose-lint: `fix --apply` can delete a line the user did not select, including a security setting

tmatens / compose-lint

披露于 。已有补丁记录,修复版本是 compose-lint 0.18.0。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 攻击途径网络无需认证 软件包生态PyPI
这些标签的依据

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

网络
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N(CVSS 4.0)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N(CVSS 4.0)中的 PR:N
PyPI
GHSA-65v8-q222-64xx:pip 包 compose-lint
当前阶段
PAT
披露
CVSS
5.1 MEDIUM v4.0

生命周期

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

摘要

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.9.0 until 0.18.0, compose-lint's YAML parser recognizes lone carriage returns and Unicode line separators U+0085, U+2028, and U+2029 as line breaks while fix position conversion counts only newline characters. A pull request can place one of these separators in a quoted value so fix --apply shifts each later edit and deletes the line after the selected target, including an unselected network or other security setting. The resulting Compose file can remain valid, post-edit checks can pass, and the command can report a successful fix even though the dry-run diff was the only place showing the extra deletion. This issue is fixed in version 0.18.0.

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:N
无:能否成功与目标的部署和运行条件无关
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:A
主动:须有用户特意执行特定操作,例如安装或运行文件、忽略安全警告

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

CVSS 4.0 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 5.1,中危。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 7419,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-123370",
  "occurred_at": "2026-11-09T17:34:24.026Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
      "version": "4.0",
      "base_score": 5.1,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-14T01:44:24.489636Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-09T17:34:24.026Z",
    "assigner_short_name": "GitHub_M"
  }
}
时间未知来源未给出时间
+PAT补丁发布

公告给出修复版本 compose-lint 0.18.0。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-65v8-q222-64xx · 本站 批量导入 · 原始记录
{
  "id": 18902,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-65v8-q222-64xx",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-65v8-q222-64xx",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 5.1,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Off-by-one Error",
        "cwe_id": "CWE-193"
      }
    ],
    "ghsa_id": "GHSA-65v8-q222-64xx",
    "packages": [
      {
        "name": "compose-lint",
        "ecosystem": "pip",
        "first_patched_version": "0.18.0",
        "vulnerable_version_range": ">= 0.9.0, <= 0.17.0"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-123370",
      "https://github.com/tmatens/compose-lint/pull/547",
      "https://github.com/tmatens/compose-lint/pull/549",
      "https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de",
      "https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d",
      "https://github.com/tmatens/compose-lint/releases/tag/v0.18.0",
      "https://github.com/advisories/GHSA-65v8-q222-64xx"
    ],
    "fix_commit_urls": [
      "https://github.com/tmatens/compose-lint/pull/547",
      "https://github.com/tmatens/compose-lint/pull/549",
      "https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de",
      "https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d"
    ],
    "github_reviewed_at": "2026-11-10T15:57:02Z",
    "advisory_updated_at": "2026-11-10T15:57:16Z",
    "source_code_location": "https://github.com/tmatens/compose-lint",
    "advisory_published_at": "2026-11-10T15:57:02Z"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。