Affected versions
Version ranges need review.
- Affected versions
- < 1.2.9
- Fixed version
- 1.2.9
- Affected versions
- <1.2.9
- Fixed version
- 1.2.9
- Affected versions
- <0.50.4
- Fixed version
- 0.50.4
- Affected versions
- < 0.50.4
- Fixed version
- 0.50.4
Exploitation
Description
Previously, Apko verified the control section hash (.PKGINFO etc.) against the signed APKINDEX, but never verified the data section hash (the actual package files that get installed). An attacker who could compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed.
Links
Credits
- xnox
- egibs

