PT-2026-37053 · Apko · Apko
1Seal
·
Published
2026-05-04
·
Updated
2026-05-10
·
CVE-2026-42576
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
apko versions prior to 1.2.7
Description
The
DiscoverKeys() function in pkg/apk/apk/implementation.go performs an unconditional type-assertion of JWKS (JSON Web Key Set) keys as *rsa.PublicKey without verifying the key type. If a repository JWKS endpoint returns a non-RSA key, such as an Elliptic Curve (EC) key, the unchecked assertion causes a panic and crashes the application. This affects any workflow that initializes the APK database and fetches repository keys.Recommendations
Update to version 1.2.7.
Fix
DoS
Incorrect Type Conversion or Cast
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apko