Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#38246 - [linux] Insecure PKGBUILD
Attached to Project:
Arch Linux
Opened by Thue Janus Kristensen (thuejk) - Monday, 23 December 2013, 10:50 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 02 February 2015, 12:03 GMT
Opened by Thue Janus Kristensen (thuejk) - Monday, 23 December 2013, 10:50 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 02 February 2015, 12:03 GMT
|
DetailsThe PKGBUILD script for core/linux is insecure. 1) it is downloading the source over http instead of https. 2) it is verifying the downloaded source with the insecure md5sums instead of the secure[1] sha256sums.
Since there have already been a concrete collision attack on md5[2], there is no effective cryptographic verification in the core/linux build process. [1] https://wiki.archlinux.org/index.php/PKGBUILD#sha256sums.2C_sha384sums.2C_sha512sums [2] http://www.zdnet.com/blog/security/ssl-broken-hackers-create-rogue-ca-certificate-using-md5-collisions/2339 |
This task depends upon
It's not only the linux kernel that is affected; most upstream projects are not willing to provide signatures for their releases.
In general, I am mystified why the option to use md5sums is even there, instead of just always using the secure sha256sums. The wiki does recommend not using md5sums.
Instead of using checksums, you could in addition use PGP signatures. See https://www.kernel.org/category/signatures.html
[1] https://projects.archlinux.org/pacman.git/commit/?id=620d2d9d587b9f361fedb464501f59141c98d3da