همهٔ گزارش‌ها
متوسط

apko `DiscoverKeys` has a panic on non-rsa jwks key that causes crash during key discovery

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
< 1.2.7
نسخهٔ اصلاح‌شده
1.2.7
نسخه‌های متأثر
<1.2.7
نسخهٔ اصلاح‌شده
1.2.7

بهره‌برداری

CVE-2026-42576

احتمال بهره‌برداری در ۳۰ روز آینده: 0.25%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

DiscoverKeys in pkg/apk/apk/implementation.go unconditionally type-asserts JWKS keys as *rsa.PublicKey without checking the key type. If a repository JWKS endpoint returns a non-RSA key (e.g. EC), the unchecked assertion panics and crashes apko. This affects any workflow that initializes the APK database and fetches repository keys. Affected versions <= 0.30.34.

Fix: No fix available yet.

Acknowledgements

apko thanks Oleh Konko from 1seal for discovering and reporting this issue.

پیوندها

گزارش‌دهندگان

  • 1seal
  • antitree
  • markusthoemmes