Command Palette

Search for a command to run...

Назад к скиллам
скилл № 71683

fix-nginx-vuln

Use when the user asks to fix, patch or upgrade an nginx vulnerability (e.g. 'Please fix my nginx vulnerability'), NGINX2Root, CVE-2026-123007…

БесплатноБез исполняемых скриптов
CognitionAIот CognitionAI★ 42 звезды на GitHub

Установить fix-nginx-vuln в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Fix nginx vulnerability (NGINX2Root, five CVEs)

Overview

Find and fix nginx deployments affected by NGINX2Root: five memory-corruption bugs disclosed on 2026-11-18 and fixed in nginx 1.31.9 (mainline) and 1.30.7 (stable). Each lets an unauthenticated remote attacker run code as the nginx worker in a specific configuration (CVSS v4 9.2, CVSS v3.1 8.1; F5 says code execution needs ASLR disabled or bypassed). Root on the host comes from a separate Linux kernel SCTP bug that upgrading nginx does not fix. Inventory read-only first. Wait for approval before editing. Patch each approved repo to a fixed vendor build, verify the built artifact, and open focused PRs.

CVE Bug Needs Vulnerable (nginx.org)
CVE-2026-123007 HTTP/2 flow-control out-of-bounds write HTTP/2 enabled 1.9.5–1.31.8
CVE-2026-123633 HTTP/2 use-after-free HTTP/2 and proxying to an upstream 1.19.7–1.31.8
CVE-2026-121810 HTTP/3 use-after-free HTTP/3 and proxying to an upstream 1.25.0–1.31.8
CVE-2026-123634 Resolver use-after-free resolver, a proxy_pass target built from variables, and an SSI or mirror subrequest 0.6.18–1.31.8
CVE-2026-113425 Mail proxy use-after-free Mail proxy with proxy on and auth_http 0.5.33–1.31.8

What's Needed From User

  • Repos or org to scan. Default: every repo connected to Devin.
  • Approval of which discovered repos to patch, and of any branch change (stable ↔ mainline), base-OS change or config change.
  • Registry, package-mirror and CI access needed to verify targets and run builds.

Procedure

  1. Search all accessible repos read-only with the git host's code search before cloning (if there is none, which is common on GitHub Enterprise Server and self-managed GitLab, shallow-clone and rg -n --hidden --glob '!.git'). Look for:
    • nginx: images, nginxinc/* and other images built on nginx, including multi-stage builds.
    • nginx* OS packages (apt/apk/dnf), the nginx.org package repo, and nginx source downloads/./configure builds.
    • Products that bundle nginx: OpenResty, Tengine, Kubernetes ingress controllers (ingress-nginx, NGINX Ingress Controller), NGINX Plus, Kong, and vendor images.
    • Helm charts, Kustomize, Terraform/Packer, and Ansible/Chef/Puppet code that installs or configures nginx.
    • nginx config (nginx.conf, conf.d/, sites-*, templates, ConfigMaps and ingress annotations) for the conditions in the table: http2, listen ... quic/http3, proxy_pass, resolver, ssi, mirror, and a mail {} block with auth_http.
    • SCTP on the hosts and node images nginx runs on: a /etc/modprobe.d/ entry for sctp, modprobe sctp or sctp in modules-load.d, and SCTP Services or ports in Kubernetes manifests.
  2. Produce one inventory table: repo, file:line, signal, current version, channel (official image, distro package, source build, bundled in a product, managed platform), exact/floating/digest pin, which of the five CVEs the config meets the conditions for, internet exposure if discernible, test coverage (none, thin, suite), and confidence. List repos you could not search separately.
  3. Mark each entry fixed, vulnerable, or unknown. A version in range with none of the five conditions met is still vulnerable-by-version: report it as lower priority, not as fixed. For distro and managed-platform builds, check the vendor's package changelog or advisory for all five CVEs. Never compare nginx -v with upstream numbers to decide this: distributions backport fixes without changing the version. If the distribution has not shipped a fix yet (Debian and Ubuntu had not at disclosure), the entry is vulnerable and blocked on the vendor.
  4. Stop. Show the table and ask which repos to patch. Ask in the same message about branch changes, base-OS changes and any temporary config mitigation, so they can all be approved up front. Change nothing during discovery.
  5. Start one child session per approved repo, at most five running at once. Each child rechecks the inventory for its repo before editing.
  6. In each child, pick the smallest fixed target per path and confirm it exists before editing. Check against the registry or package mirror the repo's CI already uses (Artifactory, Nexus, Harbor or a cloud registry) when public hosts are blocked; if neither is reachable, mark the target unverified in the PR and let the CI build prove it.
    • Exact image tag: bump to the fixed release on the same branch (stable → 1.30.7, mainline → 1.31.9), keeping the variant (-alpine, -slim, -perl, -otel, etc.).
    • Digest pin: resolve and pin the new digest.
    • Floating tag (nginx:stable, nginx:latest, nginx:1.30): leave the tag. Require a --pull --no-cache rebuild and redeploy, and record the per-platform digest you verified. Say if the tag's base OS has moved.
    • Placeholder or unresolvable digest: flag it, since what is actually deployed is unknown, and ask the user to confirm the running ima
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл fix-nginx-vuln?

Use when the user asks to fix, patch or upgrade an nginx vulnerability (e.g. 'Please fix my nginx vulnerability'), NGINX2Root, CVE-2026-123007, CVE-2026-123633, CVE-2026-121810, CVE-2026-123634 or CVE-2026-113425, or to find vulnerable nginx versions in Dockerfiles, distro packages, source builds, ingress controllers, OpenResty, Helm/IaC or Ansible/Chef/Puppet. Read-only inventory, approval gate, regression tests, focused PRs.

Как установить скилл fix-nginx-vuln?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fix-nginx-vuln запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fix-nginx-vuln с