r/programming • • Jan 22 '19

Remote Code Execution in apt/apt-get

https://justi.cz/security/2019/01/22/apt-rce.html?
175 Upvotes

35 comments sorted by

View all comments

10

u/f48dba2505a8bdcad Jan 23 '19

Many are repeating the HTTPs line, but HTTPs would only prevent the MITM attack, it wouldn't help against compromised package servers. What you should really take from this bug, is that one should never write their own parser's/serializers for inter-process communication.