Heads up: this repo pins a PHP version affected by PHP2Shell (CVE-2026-109618 / CVE-2026-109619)
還沒有人認領這個 Issue。
評估
研究方向
Start by inspecting the repository's Dockerfile and identify the PHP base image tag it uses. Check whether that version is affected by the advisories cited in the issue, then update to a patched release or document the vendor backport if the project must stay on an older version. Rebuild and verify the image uses the patched PHP version.
由索引模型根據 Issue 內容生成。
描述
Hey, I ran a GitHub code search for Dockerfiles pinning an end-of-life PHP base image and your repo came up. You're getting this because of that.
What happened: On October 21 2026 the PHP project disclosed two critical unauthenticated remote-code-execution flaws in PHP core, together nicknamed "PHP2Shell" (CVE-2026-109618 and CVE-2026-109619, both CVSS 9.2). They affect every PHP build before 8.2.35, 8.3.36, 8.4.27 and 8.5.12. PHP 8.1 and older are end-of-life and get no official fix, only source backports for 7.4 / 8.0 / 8.1. The FBI and CISA have both urged operators to patch immediately or take affected systems offline.
Why this repo
Your repo has a Dockerfile building on a web-serving PHP image (php:…-apache or php:…-fpm) for a release below the patch line (7.2–8.1). Those tags get no official PHP fix, so the image serves web requests on a vulnerable PHP unless you upgrade or apply the backport. mod_php, the -apache image, is the configuration the advisory rates highest-risk.
Checklist
- Move the base image to a patched release:
php:8.2.35,php:8.3.36,php:8.4.27orphp:8.5.12(or newer). - If you must stay on 7.4 / 8.0 / 8.1, apply the PHP security team's source backport, or get a patched package from your distro / LTS vendor.
- Rebuild and redeploy. A rebuild alone does not help if the tag is still below the patch line.
- If you can't patch right away, the FBI and CISA both say to take the system offline until it's fixed.
- Watch your web servers: a PHP worker process unexpectedly launching a shell or downloading files is the thing to look for.
- If you find signs of compromise, isolate the box, preserve your web-server and PHP logs, and report it to your local FBI field office or https://www.ic3.gov.
If you can't update immediately
These reduce exposure to specific attack paths. They are not a fix; only an update is.
- Enforce
memory_limit=-1administratively (FPM pool or Apache config) so an application can't put a finite limit back. - Set
session.upload_progress.enabled=0and restart every worker. - On PHP 8.5, set
fatal_error_backtraces=0and restart every worker. - Keep
post_max_sizeconservative and bound multipart part / header counts at your proxy.
References
- FBI Cyber Division advisory
- PHP security advisory, 21 Oct 2026
- CVE-2026-109618, RCE via OOM corruption
- CVE-2026-109619, RCE via stale global state
- CISA alert
- CERT-EU advisory 2026-018
Disclaimer
This is informational only and not professional security advice. I ran a search and wanted affected maintainers to hear about it. If this is a false positive, a library, an example, a test fixture, an archived project, or an image that already carries a distro backport, sorry for the noise, feel free to close.
- 主要語言
- PHP
- 星號
- 194
- 分支
- 104
- 平均合併
- 20 小時 28 分鐘
- 30 天內合併 PR
- 3
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
nextcloud/nextcloud-docker-dev 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
nextcloud/nextcloud-docker-dev#483 · 1 則留言 · 3 個 reaction ·
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
nextcloud/nextcloud-docker-dev#480 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
-
enhancement
難度 3/5 1-2 天 新手友好度 55/100
-
bug
難度 3/5 1-2 天 新手友好度 55/100
查看 nextcloud/nextcloud-docker-dev 的全部 Issue
相似的 Issue
-
14.3.x
難度 2/5 1-3 小時 新手友好度 65/100
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android Chrome未關閉needs-triage Platform(Default)
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
PrestaShop/ps_googleanalytics#187 ·
-
GD decoder discards the finfo media type in mediaTypeByBinary() since 4.4.0可能已有人在做 @lazerg 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 77/100
Intervention/image#1556 ·
維護者通常 1 天內回覆