r/linux • • Sep 26 '18

Do not fall into Oracle's Java 11 trap

https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-11-trap.html
1.1k Upvotes

263 comments sorted by

View all comments

Show parent comments

0

u/mattgen88 Sep 27 '18

So unless you view the source, you're not going to see that the URL the download is coming from. So I could MITM the page and give you an entirely different page that links to my file and looks authoritative and even give you a share hash that matches what I'll serve from the link and embed some arbitrary code in the package that you installed while still giving you what looks to be the JDK. I'll then have a wonderful time sitting on your system stealing your intellectual property or further spreading a virus through whatever software you build with that jdk.

This is how you get viruses.

1

u/SpecificKing Sep 27 '18

So unless you view the source, you're not going to see that the URL the download is coming from.

Remember when ubuntu used to sign their updates with a 2048 bit key, I really wish they would still do that.

Otherwise I wouldn't have all these viruses.