The modern packager’s security nightmare

One of the most important tasks of the distribution packager is to ensure that the software shipped to our users is free of security vulnerabilities. While finding and fixing the vulnerable code is usually considered upstream’s responsibility, the packager needs to ensure that all these fixes reach the end users ASAP. With the aid of central package management and dynamic linking, the Linux distributions have pretty much perfected the deployment of security fixes. Ideally, fixing a vulnerable dependency is as simple as patching a single shared library via the distribution’s automated update system.

Of course, this works only if the package in question is actually following good security practices. Over the years, many Linux distributions (at the very least, Debian, Fedora and Gentoo) have been fighting these bad practices with some success. However, today the times have changed. Today, for every 10 packages fixed, a completely new ecosystem emerges with the bad security practices at its central point. Go, Rust and to some extent Python are just a few examples of programming languages that have integrated the bad security practices into the very fabric of their existence, and recreated the same old problems in entirely new ways.

This post explains the issue packagers run into very well – and it sure does look like these newer platforms are not very good citizens. I know this isn’t related, but this gives me the same feelings and reservations as Flatpak, Snap, and similar tools.

28 Comments

  1. 2021-02-22 7:11 am
    • 2021-02-22 9:56 am
      • 2021-02-22 12:08 pm
    • 2021-02-22 6:49 pm
      • 2021-02-23 11:55 pm
        • 2021-02-24 2:29 pm
  2. 2021-02-22 7:23 am
    • 2021-02-22 1:29 pm
      • 2021-02-22 6:07 pm
    • 2021-02-22 3:03 pm
      • 2021-02-22 5:05 pm
        • 2021-02-22 10:05 pm
          • 2021-02-23 12:27 am
    • 2021-02-22 6:20 pm
  3. 2021-02-22 11:53 am
    • 2021-02-22 5:55 pm
      • 2021-02-23 1:22 am
        • 2021-02-23 3:50 am
          • 2021-02-23 4:29 am
          • 2021-02-23 12:27 pm
          • 2021-02-23 12:44 pm
          • 2021-02-23 1:54 pm
          • 2021-02-24 3:39 am
          • 2021-02-24 9:06 am
        • 2021-02-23 2:19 pm
  4. 2021-02-22 11:58 am
  5. 2021-02-22 5:39 pm
    • 2021-02-23 1:23 am