nginx 漏洞与安全更新
52 条
12月3日周四
12月1日周二
Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
受影响: go:github.com/tinyauthapp/tinyauth >= 1.0.1-0.20260314175615-dc3fa58d2187, < 1.0.1-0.20260825140756-847d8325c70b → 1.0.1-0.20260825140756-847d8325c70b Tinyauth's Nginx forward-auth endpoint trusts the client-supplied X-Original-URL header when determining which application's access controls to enforce. This allows an attacker to bypass authentication by referencing another application's public path or bypass application-specific access restrictions by referencing an application they are authorized to access. Who is impacted Instances using Tinyauth's /api/auth/nginx endpoint with Nginx or Nginx Proxy Manager configurations that do not explici…
11月30日周一
11月27日周五
ThreatsDay: 10M NGINX Services at Risk, 250+ Malicious Extensions, AI Server Hijacking + 17 More Stories
A website can look perfectly fine to the person running it. Log out, visit the same page, and things might look different. Something similar is happening with browser extensions, where even the way you find and install one can change what it does. Checking whether software works as expected only tells you so much. Then there’s the question of who gets to use what. Stolen logins are opening
11月26日周四
Weekly Report: nginxにおける複数の脆弱性(CVE-2026-123007など)について
nginxにおける複数の脆弱性(CVE-2026-123007など)について
11月24日周二
F5 Networks等の複数ベンダの製品における解放済みメモリの使用に関する脆弱性
NGINX PlusまたはNGINXオープンソースがクライアント接続にHTTP/2を使用するように構成され、クライアントリクエストをバックエンドにプロキシする場合、特別に細工されたリクエストにより、worker_connectionsの残りが少ない状況でワーカープロセスにuse-after-freeが発生する可能性があります。さらに、攻撃者はASLR(アドレス空間配置のランダム化)が無効になっているシステム、またはASLRをバイパスできる場合にコードを実行することが可能です。影響としては、この脆弱性によりリモートの攻撃者がNGINXシステムに対してサービス拒否(DoS)を引き起こすか、コードを実行できる恐れがあります。コントロールプレーンは露出せず、これはデータプレーンの問題に限られます。注として、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価対象外となっています。
F5 Networks等の複数ベンダの製品における複数の脆弱性
この問題は、HTTP/2 を使用する NGINX Plus または NGINX オープンソースの構成に影響を及ぼします。NGINX が未公開のトラフィックを処理する際、フロー制御ウィンドウが許容される閾値を超える可能性があり、その結果、通常は NGINX ワーカーがセグメンテーションフォルトを伴うヒープバッファオーバーフローを引き起こすことがあります。さらに、攻撃者はアドレス空間配置のランダム化(ASLR)が無効化されているシステム、または ASLR を回避できる場合にコードを実行することが可能です。影響としては、攻撃者がこの脆弱性を悪用して NGINX ワーカープロセスをクラッシュさせたり、メモリを破損させたり、遠隔でコードを実行したりする恐れがあります。コントロールプレーンへの影響はなく、これはデータプレーンの問題に限られます。注意点としては、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価対象外となります。
F5 NetworksのDoS等の複数製品における解放済みメモリの使用に関する脆弱性
NGINX Plus または NGINX Open Source がメールプロキシとして設定されている場合、未確認のトラフィックにより nginx ワーカープロセスで use-after-free が発生する可能性があります。さらに、攻撃者は Address Space Layout Randomization (ASLR) が無効化されているシステム上、または攻撃者が ASLR をバイパスできる場合にコードを実行することが可能です。影響としては、リモートの未認証攻撃者が nginx ワーカープロセスをクラッシュさせるか、メモリを破損させてサービスを妨害する可能性があります。また、リモートコード実行の可能性もあります。制御プレーンには影響がなく、本問題はデータプレーンにのみ関係しています。なお、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価対象外としています。
F5 NetworksのDoS等の複数製品における整数アンダーフローの脆弱性
NGINX Plus または NGINX Open Source が try_files および alias ディレクティブを map 変数と共に使用するように設定されている場合、map および try_files 内の正規表現キャプチャの特定の組み合わせにより、NGINX ワーカープロセスでセグメンテーションフォルトが発生する可能性があります。影響として、攻撃者はこの脆弱性を悪用して NGINX ワーカープロセスを予期せず終了させることが可能です。コントロールプレーンには影響がなく、これはデータプレーンに関する問題のみです。注意点として、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価対象外となっています。
F5 NetworksのDoS等の複数製品における安全でない等式による入力の不適切な検証に関する脆弱性
説明 NGINX Plus または NGINX Open Source が ngx_stream_ssl_preread_module モジュールを使用して構成されている場合、認証されていない攻撃者による特別に細工された ClientHello メッセージにより、ngx_stream_ssl_preread_module 変数に偽造値が生成され、バーチャルサーバーの選択に影響を与える可能性があります。さらに、TLS 1.3 サポートなしで SSL/TLS 接続を終了するプロキシサーバーとの間で不整合が発生する場合もあります。影響 この脆弱性により、攻撃者は ngx_stream_ssl_preread_module 変数の値を偽造して NGINX システムのストリームルーティングのセグメンテーションを回避できる可能性があります。その結果、攻撃者は到達不可能であるべき特権的または内部のバックエンドへの接続をルーティングし、機密情報にアクセスすることが可能になります。制御プレーンには影響がなく、本件はデータプレーンの問題に限られます。注:技術サポートが終了(EoTS)したソフトウェアバージョンは評価対象外です。
F5 NetworksのDoS等の複数製品における解放済みメモリの使用に関する脆弱性
この問題は、NGINX Plus または NGINX Open Source がプロキシとして設定されており、プロキシ対象のサーバ名に変数が含まれ、かつ Server Side Includes(SSI)またはミラーディレクティブが同じサーバ名を解決するロケーションにサブリクエストを送信する場合に発生します。この条件下で、細工されたHTTPリクエストにより、ワーカープロセスで use-after-free 状態が引き起こされる可能性があります。また、アドレス空間配置のランダム化(ASLR)が無効化されているか、攻撃者がASLRを回避できる場合には、コードの実行も可能になる可能性があります。 影響として、攻撃者はこの脆弱性を悪用し、NGINXワーカープロセスをクラッシュさせたり、メモリを破損させたり、リモートコード実行(RCE)を行ったりすることができます。 注意点として、技術サポート終了(EoTS)となったソフトウェアバージョンは評価対象外としています。
F5 NetworksのDoS等の複数製品における解放済みメモリの使用に関する脆弱性
説明: この問題は、HTTP/3を使用するNGINX PlusおよびNGINX Open Sourceの設定に影響を及ぼします。リモートの未認証攻撃者がNGINXワーカープロセスでuse-after-free状態を引き起こし、リスタートを招く可能性があります。攻撃の成功は攻撃者の制御を超えた条件にも依存します。さらに、攻撃者はASLR(アドレス空間配置のランダム化)が無効化されているシステム、または攻撃者がASLRを回避できる場合にコードを実行することも可能です。影響: この脆弱性により、リモート攻撃者がNGINXシステムに対してサービス拒否(DoS)を引き起こすか、場合によってはコード実行をトリガーする可能性があります。コントロールプレーンへの露出はなく、本件はデータプレーンの問題に限られています。注意: テクニカルサポート終了(EoTS)となっているソフトウェアバージョンは評価対象外としています。
F5 NetworksのDoS等の複数製品における無限ループに関する脆弱性
httpブロック内でTLSv1.3が有効な状態で、listenディレクティブにsslパラメータを使用した場合、攻撃者は特殊に細工されたTLS接続を用いてHTTPリクエストボディの読み取り時にNGINXワーカープロセスで無限ループを引き起こすことができます。その結果、ワーカープロセスは新しい接続の受け入れと既存接続の処理を停止します。なお、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価対象外とします。影響としては、この脆弱性によりリモートの未認証攻撃者がNGINXのサービス拒否(DoS)を引き起こす可能性があります。コントロールプレーンへの影響はなく、データプレーンの問題に限定されています。
F5 NetworksのDoS等の複数製品におけるヒープベースのバッファオーバーフローの脆弱性
NGINX PlusおよびNGINXオープンソースには、aliasディレクティブを使用し、かつrewriteディレクティブとsetまたはreturnディレクティブで$request_filename変数を参照するロケーションが設定されている場合に脆弱性が存在します。また、同様の影響は$request_filename変数がアクセスログフォーマットディレクティブで使用されている場合にも発生する可能性があります。認証されていない攻撃者は、自分の制御外の条件とともに悪意のあるHTTPリクエストを送信することで、この脆弱性を悪用できます。これにより、NGINXワーカープロセスでヒープバッファオーバーフローが発生し、プロセスの再起動を引き起こす可能性があります。さらに、ASLR(アドレス空間配置のランダム化)が無効化されているシステムや、攻撃者がASLRを回避できる場合には、攻撃者がコードを実行することも可能です。影響としては、この脆弱性によりリモートの攻撃者がNGINXシステムに対してサービス拒否(DoS)を引き起こしたり、コードの実行を誘発したりする可能性があります。コントロールプレーンに対する影響はなく、この問題はデータプレーンに限られています。注として、技術サポート終了(EoTS)に達したソフトウェアバージョンは評価されていません。
F5 NetworksのDoS等の複数製品における初期化されていないリソースの使用に関する脆弱性
説明 NGINX Plus または NGINX Open Source が ssl_session_cache shared:name:size によって設定され、SSLセッションチケットキーを自動的にローテーションするための明示的な ssl_session_ticket_key ファイルディレクティブが指定されていない場合、リモートの未認証攻撃者が攻撃者の制御を超えた非決定論的な方法でクライアントの SSL セッションを偽造できる可能性があります。攻撃者はこの脆弱性を悪用し、クライアント証明書の検証を回避することが考えられます。影響 この脆弱性により、本来アクセスすべきでない者にリソースや機能が露出し、攻撃者が機密情報にアクセスできる可能性があります。コントロールプレーンには影響がなく、本問題はデータプレーンに限った問題です。注意:テクニカルサポート終了(EoTS)となったソフトウェアバージョンは評価対象外としています。
F5 NetworksのDoS等の複数製品における解放済みメモリの使用に関する脆弱性
NGINX PlusおよびNGINX Open Sourceには、ngx_http_core_moduleモジュールに脆弱性があります。非同期ファイルI/O(AIO)が特定の構成で有効になっている場合、「include virtual」コマンドを含むServer Side Includes(SSI)ページを処理すると、NGINXワーカープロセスでUse-After-Free(UAF)が発生する可能性があります。これにより、メモリ破損やワーカープロセスのクラッシュが引き起こされる恐れがあります。さらに、攻撃者はAddress Space Layout Randomization(ASLR)が無効化されているシステム、または攻撃者がASLRをバイパスできる場合にコードの実行を行う可能性があります。影響としては、この脆弱性によりリモートの攻撃者がNGINXシステムに対してサービス拒否(DoS)を引き起こしたり、メモリを破損させたり、場合によってはコード実行を誘発したりすることが考えられます。コントロールプレーンには影響がなく、データプレーンの問題に限られます。注意点として、技術サポート終了(EoTS)となったソフトウェアバージョンについては評価を行っていません。
⚡ Weekly Recap: VMware 0-Day, Java4Shell, NGINX2Root, Ruby2Shell, and a Whole Lot of Shell Trouble
A stolen key. A trusted message. A routine update. None of these looks like the start of a major security problem. That's partly why they work. Attackers don't always need to break down a door. Sometimes they just use one that's already open. This week's stories show how quickly a small opening can turn into a much bigger mess. One breach helps attackers reach another target. Tools people rely
11月23日周一
nginx-1.30.8 stable and nginx-1.31.10 mainline versions have been released, with a fix for excessive CPU usage vulnerability when using ssl_early_data (CVE-2026-132779).
2026-11-23 nginx-1.30.8 stable and nginx-1.31.10 mainline versions have been released, with a fix for excessive CPU usage vulnerability when using ssl_early_data (CVE-2026-132779).
11月20日周五
USN-9182-1: nginx vulnerabilities
Marc Luchian and Liviu-Alexandru Bud discovered that nginx did not correctly handle certain configurations using the try_files and alias directives. A remote attacker could possibly use this issue to cause nginx to crash, resulting in a denial of service. (CVE-2026-125283) Vivek Parikh discovered that nginx did not correctly handle parsing certain ClientHello messages. A remote attacker could possibly use this issue to leak sensitive information. This issue was only addressed in Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-123640) It was discovered tha…
แจ้งเตือน พบช่องโหว่ใน NGINX ที่เปิดใช้งาน HTTP/2 เสี่ยงถูกสั่งประมวลผลคำสั่งโดยไม่ต้องเข้าสู่ระบบ
ศูนย์ประสานการรักษาความมั่นคงปลอดภัยระบบคอมพิวเตอร์แห่ง…
nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them
Five memory corruption bugs in nginx, called nginx2root, can let an unauthenticated attacker run code on a server. Here’s how they work, and why origins behind Cloudflare's proxy are shielded from the most serious of these bugs.
11月19日周四
F5 Patches Critical NGINX2Root Flaws as PoC Exploits Go Public
The five NGINX2Root vulnerabilities could allow remote, unauthenticated attackers to execute arbitrary code.
Synology-SA-26:20 NGINX2Root
Synology has released a security update to address a vulnerability: CVE-2026-123007 allows remote attackers to read or write arbitrary files and conduct denial-of-service attacks.
USN-9159-1: nginx vulnerabilities
Stephen Fewer and Tomer Schwartz discovered that nginx did not correctly handle certain memory operations. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (CVE-2026-123007) Albert Ebb Metnir and Nir Ohfeld discovered that nginx did not correctly handle certain reusable HTTP/2 connections. A remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code.…
ウェブサーバ「nginx」に10件の脆弱性 - 一部で「PoC」が公開
ウェブサーバ「nginx」に複数の脆弱性が確認され、脆弱性を修正したアップデートがリリースされた。一部脆弱性は、概念実証(PoC)コードも公開されている。
NGINXの脆弱性 CVE-2026-123633、CVE-2026-123007についてまとめてみた
2026年11月19日、国家サイバー統括室はWebサーバーnginxにリモートから未認証で任意のコード実行等が可能となる脆弱性が公表されたとして、対象環境の運用管理者に速やかなアップデートの適用等を求める注意喚起を行いました。ここでは関連する情報をまとめます。 どんな脆弱性が確認されたの? nginx.orgとF5は11月18日、NGINXのHTTP/2の実装(ngx_http_v2_module)の脆弱性2件を公表。nginx 1.30.7(stable)と1.31.9(mainline)のリリースでこの2件を含む計10件の脆弱性を同時に修正した。(出典: 1, 2, 3, 4) 2件はWi…
10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers
A flaw in NGINX's HTTP/2 support can allow an attacker to run code on servers with HTTP/2 enabled, without needing to log in. The decade-old flaw, CVE-2026-123007, dubbed "nginx2root," has been present in NGINX's open-source code since version 1.9.5, released on September 22, 2015. Fixed versions 1.31.9 and 1.30.7 came out today. F5, the company behind NGINX, says attackers can run code where
11月18日周三
nginx-1.30.7 stable and nginx-1.31.9 mainline versions have been released, with vulnerability fixes for use-after-free in resolver (CVE-2026-123634), memory corruption in HTTP/2 flow control (CVE-2026-123007), use-after-free in HTTP/3 (CVE-2026-121810), use-after-free in HTTP/2 (CVE-2026-123633), infinite loop while reading client request body over TLS 1.3 (CVE-2026-118899), use-after-free in mail proxy module (CVE-2026-113425), NULL pointer dereference when using PROXY protocol version 2 (CVE-2026-120993), buffer overflow when using alias with try_files (CVE-2026-125283), SNI bypass in client certificate validation in stream module (CVE-2026-120967), and insufficient validation in stream ssl_preread module (CVE-2026-123640).
2026-11-18 nginx-1.30.7 stable and nginx-1.31.9 mainline versions have been released, with vulnerability fixes for use-after-free in resolver (CVE-2026-123634), memory corruption in HTTP/2 flow control (CVE-2026-123007), use-after-free in HTTP/3 (CVE-2026-121810), use-after-free in HTTP/2 (CVE-2026-123633), infinite loop while reading client request body over TLS 1.3 (CVE-2026-118899), use-after-free in mail proxy module (CVE-2026-113425), NULL pointer dereference when using PROXY protocol version 2 (CVE-2026-120993), buffer overflow when using alias with try_files (CVE-2026-125283), SNI bypa…
11月10日周二
KUSANAGIにおけるHTTPヘッダーインジェクションの脆弱性
GMOプライム・ストラテジー株式会社が提供するKUSANAGIには、WordPress向けNginxの設定ファイルに含まれるリダイレクトルールに次の脆弱性が存在します。 HTTPヘッダーにおけるCRLF文字の不適切な無害化(CWE-113) - CVE-2026-117477 この脆弱性情報は、製品利用者への周知を目的に、GMOプライム・ストラテジー株式会社がJPCERT/CCに報告し、JPCERT/CCがGMOプライム・ストラテジー株式会社との調整を行いました。
JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS
受影响: maven:org.json:json >= 20150729, < 20260719 → 20260719 1. Executive Summary JSON-java version 20260522 contains an unguarded path from an HTTP request body to unbounded BigInteger and BigDecimal construction. JSONTokener.nextSimpleValue() accumulates numeric characters into a StringBuilder with no length cap, then passes the full string to JSONObject.stringToNumber(), which calls new BigInteger(val) or new BigDecimal(val) directly. Both constructors have polynomial time complexity (O(n^1.585) for BigInteger). A 488 KB JSON body — well within nginx'…
11月5日周四
USN-8955-2: nginx vulnerabilities
USN-8955-1 fixed vulnerabilities in nginx in Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 22.04 LTS. This update provides the corresponding update for Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 14.04 LTS. In addition, this update fixes CVE-2026-42533 for these releases. It was discovered that nginx incorrectly handled certain map directives using regex matching and capture variables. A remote attacker could possibly use this issue to crash nginx, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-42533) Original advisory detai…
10月27日周二
USN-8955-1: nginx vulnerabilities
It was discovered that nginx incorrectly handled certain configurations using the alias directive together with rewrite rules. A remote attacker could possibly use this issue to cause nginx to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-15176) It was discovered that nginx incorrectly handled map directives using regex matching under certain circumstances. A remote attacker could possibly use this issue to cause nginx to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2026-93479) It was discovered that nginx incorrectly handled HTTP/3…
10月21日周三
Weekly Report: 複数のNGINX製品に脆弱性
複数のNGINX製品に脆弱性
nginx-1.31.8 mainline version has been released.
2026-10-21 nginx-1.31.8 mainline version has been released.
10月20日周二
ウェブサーバ「nginx」に複数脆弱性 - 3件が「クリティカル」との評価も
ウェブサーバ「nginx」や関連製品に複数の脆弱性が判明した。サービス拒否やコード実行、認証の回避、機密情報の漏洩などにつながるおそれがある。
10月14日周三
nginx-1.30.6 stable and nginx-1.31.7 mainline versions have been released, with fixes for buffer overflow vulnerability when using alias with rewrite (CVE-2026-15176), buffer overflow vulnerability when evaluating string expressions with variables (CVE-2026-93479), request body injection vulnerability in HTTP/3 (CVE-2026-95101), session forgery vulnerability when using TLS session ticket key rotation (CVE-2026-97629), and use-after-free vulnerability when using ngx_http_ssi_module with AIO (CVE-2026-97205).
2026-10-14 nginx-1.30.6 stable and nginx-1.31.7 mainline versions have been released, with fixes for buffer overflow vulnerability when using alias with rewrite (CVE-2026-15176), buffer overflow vulnerability when evaluating string expressions with variables (CVE-2026-93479), request body injection vulnerability in HTTP/3 (CVE-2026-95101), session forgery vulnerability when using TLS session ticket key rotation (CVE-2026-97629), and use-after-free vulnerability when using ngx_http_ssi_module with AIO (CVE-2026-97205).
9月15日周二
nginx-1.30.5 stable and nginx-1.31.6 mainline versions have been released, with fixes for buffer overflow vulnerability when using ngx_http_v3_module (CVE-2026-90439).
2026-09-15 nginx-1.30.5 stable and nginx-1.31.6 mainline versions have been released, with fixes for buffer overflow vulnerability when using ngx_http_v3_module (CVE-2026-90439).
9月2日周三
nginx-1.31.5 mainline version has been released, featuring control API, predicate locations, and the ngx_http_json_module module.
2026-09-02 nginx-1.31.5 mainline version has been released, featuring control API , predicate locations , and the ngx_http_json_module module.
8月19日周三
nginx-1.31.4 mainline version has been released.
2026-08-19 nginx-1.31.4 mainline version has been released.
7月15日周三
nginx-1.30.4 stable and nginx-1.31.3 mainline versions have been released, with fixes for buffer overflow vulnerability when using map with regex (CVE-2026-42533), memory disclosure vulnerability when using ngx_http_slice_module (CVE-2026-60005), and use-after-free vulnerability when using ngx_http_ssi_module (CVE-2026-56434).
2026-07-15 nginx-1.30.4 stable and nginx-1.31.3 mainline versions have been released, with fixes for buffer overflow vulnerability when using map with regex (CVE-2026-42533), memory disclosure vulnerability when using ngx_http_slice_module (CVE-2026-60005), and use-after-free vulnerability when using ngx_http_ssi_module (CVE-2026-56434).
6月23日周二
njs-1.0.0 version has been released, deprecating the njs engine in favor of QuickJS, aligning exception classes between the engines, and hardening ngx.fetch() request validation.
2026-06-23 njs-1.0.0 version has been released , deprecating the njs engine in favor of QuickJS, aligning exception classes between the engines, and hardening ngx.fetch() request validation.
6月17日周三
nginx-1.30.3 stable and nginx-1.31.2 mainline versions have been released, with fixes for buffer overflow vulnerability in the ngx_http_proxy_v2_module and ngx_http_grpc_module (CVE-2026-42055), and buffer overread vulnerability in the ngx_http_charset_module (CVE-2026-48142). Additionally, nginx-1.31.2 includes a fix for use-after-free vulnerability in the ngx_http_v3_module (CVE-2026-42530).
2026-06-17 nginx-1.30.3 stable and nginx-1.31.2 mainline versions have been released, with fixes for buffer overflow vulnerability in the ngx_http_proxy_v2_module and ngx_http_grpc_module (CVE-2026-42055), and buffer overread vulnerability in the ngx_http_charset_module (CVE-2026-48142). Additionally, nginx-1.31.2 includes a fix for use-after-free vulnerability in the ngx_http_v3_module (CVE-2026-42530).
10月31日周五
betterCode() PHP 2025
With version 8.5, PHP continues to evolve in its thirtieth year: the new pipe operator and numerous performance improvements make your development more efficient. At the same time, FrankenPHP is establishing itself in Caddy Server, a European open-source solution, as a modern alternative to Nginx. betterCode() PHP supports you in using PHP 8.5, switching to FrankenPHP and the Caddy Server. Artificial intelligence is also part of the software development toolkit today: if you want to use it effectively, you need clear architectures, clean code, and solid patterns. is an online conference lasti…
10月30日周四
How to Fix 502 Error: PHP-FPM Socket Issues in PHP/Laravel Forge
Learn how missing or broken PHP-FPM sockets cause 502 Bad Gateway issues in Nginx, and how to restart PHP-FPM to resolve them.