A NestJS application using @nestjs/platform-fastify can allow bypass of authentication/authorization middleware when Fastify path-normalization options are enabled.
This issue affects nest.Js: 11.1.13.
NestJS applications using @nestjs/platform-fastify with enabled path-normalization options can bypass authentication and authorization middleware, allowing unauthorized access. This vulnerability affects NestJS version 11.1.13 and requires immediate patching.
تسمح هذه الثغرة للمهاجمين بتجاوز آليات المصادقة والتفويض في تطبيقات NestJS عند استخدام منصة Fastify مع تفعيل خيارات تطبيع المسارات. يمكن للمهاجمين الوصول إلى موارد محمية دون بيانات اعتماد صحيحة. التأثير الأساسي هو فقدان السيطرة على الوصول إلى البيانات والوظائف الحساسة.
تطبيقات NestJS التي تستخدم @nestjs/platform-fastify مع تفعيل خيارات تطبيع المسارات يمكن أن تتجاوز برامج المصادقة والتفويض الوسيطة. تؤثر هذه الثغرة على إصدار NestJS 11.1.13 وتتطلب تصحيحًا فوريًا.
Update NestJS to version 11.1.14 or later immediately. Disable Fastify path-normalization options in production environments if immediate patching is not possible. Review and audit all authentication middleware implementations for potential bypasses.
قم بتحديث NestJS إلى الإصدار 11.1.14 أو أحدث فوراً. عطّل خيارات تطبيع مسارات Fastify في بيئات الإنتاج إذا لم يكن التصحيح الفوري ممكناً. راجع وتدقيق جميع تطبيقات برامج المصادقة الوسيطة للتحقق من الثغرات المحتملة.