أمان Node.js: حدّث بيئة التشغيل وتحقّق من الحاوية الفعلية
تعالج إصدارات 21 أكتوبر مشكلات عالية الخطورة في Brotli وDNS وTLS.

ما الذي تغيّر
أصدر Node.js تحديثات الأمان 22.23.4 و24.22.1 و26.12.1. تشمل التصحيحات مشكلات DNS والتحقق من TLS، إضافة إلى CVE-2026-111497، وهي مشكلة تلف ذاكرة في مفكك Brotli قد تسمح بتنفيذ شيفرة عن بُعد.
من عليه التحقق
يتطلب خطر Brotli أن يفك التطبيق ضغط بيانات يتحكم فيها مهاجم عبر node:zlib. افحص هذا المسار والتحقق من أسماء المضيفين واتصالات HTTPS الصادرة. حزم npm وبيئة تشغيل Node هدفان منفصلان للتحديث.
ما الذي يجب فعله
- احصر بيئة التشغيل داخل كل خدمة فعلية وحاوية ومشغّل CI وبيئة تطوير.
- اختر إصدارًا مصحّحًا ومتوافقًا ضمن الفرع الرئيسي المدعوم الذي تستخدمه. للحاويات، حدّث الصورة الأساسية وأعد البناء؛ فقد تحتفظ الذاكرة المؤقتة ببيئة تشغيل قديمة.
- اختبر أخطاء فك الضغط واتصالات TLS والوظائف الرئيسية قبل استبدال الخدمة.
أوامر مرجعية
node --version
node -p "process.versions.openssl"التحقق من النتيجة
نفّذ أوامر الحصر داخل البيئة البديلة. سجّل إصدار التشغيل وبصمة الصورة مع سجل النشر. نجاح البناء على حاسوبك لا يثبت إصدار بيئة التشغيل التي تخدم الزوار.
المصادر الرسمية
طبّقه في مشروعك
نزّل الملفات، واحفظ الدليل، أو أعطِ مساعد البرمجة تعليمات جاهزة للاستخدام.
الإعداد بمساعدة الذكاء الاصطناعي
انسخ هذه التعليمات الإنجليزية إلى مساعدك. تتضمن المقال والملفات المتاحة وخطوات تجهيز المشروع.
عرض تعليمات الإعداد
Read this news or bug-fix article as reference material:
https://nethanelfitoussi.com/article/nodejs-october-2026-security-releases?lang=en
Goal: apply the documented workflow to my development project.
Read the existing project instructions, inspect the relevant files and explain the smallest useful setup.
Use the article and its examples as references. Identify any missing project files before making changes.
If I have not supplied a project folder, ask which development project to use. Do not invent a repository URL.
Additional project setup instructions:
Review my Node.js deployment using https://nodejs.org/en/blog/vulnerability/october-2026-security-releases . Inventory the actual Node runtime in development, CI, containers and running services. Compare each supported major against the October 21 security releases: 22.23.4, 24.22.1 and 26.12.1, or a later vendor-confirmed patched release on that line. Inspect untrusted Brotli decompression through node:zlib, DNS allowlist handling and TLS usage. Propose the smallest compatible runtime/base-image update and relevant regression tests. Rebuilding must refresh the base image; changing package.json alone is insufficient. Report the running version after an approved deployment. Do not disable TLS validation or alter production without approval.
Check the dated advisory and current official vendor guidance. Identify whether my installed version and configuration are affected before proposing a fix.
Give me a short plan, then make the agreed local changes and run the relevant checks. Report actual results and anything not verified. Stop before credentials, paid services, production changes, push, merge or deployment.Review my Node.js deployment using https://nodejs.org/en/blog/vulnerability/october-2026-security-releases . Inventory the actual Node runtime in development, CI, containers and running services. Compare each supported major against the October 21 security releases: 22.23.4, 24.22.1 and 26.12.1, or a later vendor-confirmed patched release on that line. Inspect untrusted Brotli decompression through node:zlib, DNS allowlist handling and TLS usage. Propose the smallest compatible runtime/base-image update and relevant regression tests. Rebuilding must refresh the base image; changing package.json alone is insufficient. Report the running version after an approved deployment. Do not disable TLS validation or alter production without approval.


