Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses PKCS1Encoding which is vulnerable to Bleichenbacher padding oracle attacks. Modern systems should use OAEP (Optimal Asymmetric Encryption Padding). This vulnerability is fixed in 2.2.
Jervis library versions prior to 2.2 use insecure PKCS1Encoding for RSA encryption, vulnerable to Bleichenbacher padding oracle attacks that could allow attackers to decrypt sensitive data or forge signatures in Jenkins pipeline environments. This affects organizations using Jervis for Job DSL plugin scripts and shared pipeline libraries. Immediate patching to version 2.2 or later is required to eliminate this cryptographic weakness.
1. IMMEDIATE: Inventory all Jenkins instances and identify those using Jervis library versions prior to 2.2
2. PATCHING: Upgrade Jervis library to version 2.2 or later immediately across all affected Jenkins controllers and agents
3. CREDENTIAL ROTATION: After patching, rotate all RSA-encrypted secrets, API keys, and credentials that were encrypted with vulnerable PKCS1Encoding
4. DETECTION: Implement monitoring for Jenkins logs showing Jervis library version and RSA encryption operations; alert on versions < 2.2
5. COMPENSATING CONTROL: If immediate patching is not possible, restrict Jenkins access to trusted networks only and disable remote job triggering
6. VALIDATION: Verify patch installation by checking Jervis library version in Jenkins plugin manager and reviewing Jenkins system logs for confirmation
1. فوري: قم بحصر جميع مثيلات Jenkins وتحديد تلك التي تستخدم إصدارات مكتبة Jervis السابقة للإصدار 2.2
2. التصحيح: قم بترقية مكتبة Jervis إلى الإصدار 2.2 أو أحدث فوراً عبر جميع متحكمات Jenkins والوكلاء المتأثرين
3. تدوير بيانات الاعتماد: بعد التصحيح، قم بتدوير جميع الأسرار المشفرة بـ RSA ومفاتيح API وبيانات الاعتماد التي تم تشفيرها باستخدام PKCS1Encoding الضعيف
4. الكشف: تنفيذ المراقبة لسجلات Jenkins التي تظهر إصدار مكتبة Jervis وعمليات تشفير RSA؛ تنبيهات للإصدارات < 2.2
5. التحكم البديل: إذا لم يكن التصحيح الفوري ممكناً، قيد الوصول إلى Jenkins للشبكات الموثوقة فقط وعطل تشغيل المهام البعيدة
6. التحقق: تحقق من تثبيت التصحيح بفحص إصدار مكتبة Jervis في مدير المكونات الإضافية Jenkins ومراجعة سجلات نظام Jenkins للتأكيد