ترجمة آلية لم تُراجَع بعد. النص الإنجليزي هو المرجع في حال الاختلاف.
الملخص
يحتوي pybars3 حتى الإصدار 0.9.7 على ثغرة حقن شيفرة في pybars/_compiler.py تسمح لمؤلفي القوالب بتنفيذ شيفرة Python عبر أجزاء مسار محاطة بأقواس وغير مهربة. يمكن للمهاجمين تزويد قوالب Handlebars بأجزاء مصنوعة في وسائط المساعد أو الكتل للخروج من السلاسل النصية وتنفيذ Python في عملية التطبيق.
المعالجة
المراجع
- تحذيرhttps://github.com/vladko312/advisories/blob/702e98db9642ece70d9e2150076d8014ffec2db3/pybars3.md
- تحذيرhttps://www.vulncheck.com/advisories/pybars3-through-0.9.7-code-injection-via-bracketed-path-segments
- مرجعhttps://github.com/wbond/pybars3
- مرجعhttps://github.com/wbond/pybars3/blob/0.9.7/pybars/_compiler.py#L159-L160
- مرجعhttps://github.com/wbond/pybars3/issues/88
- مرجعhttps://github.com/up9inc/pybars4
- مرجعhttps://github.com/up9inc/pybars4/blob/0.9.13/pybars/_compiler.py#L153-L154