Unofficial Hacker News client - receive Push Notifications on replies.

Slow Ubuntu security response times (opens external site)

434 points by gslin 5 days ago | www.openwall.com | 273 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (21)

  1. > They have been hurling new kernels over the fence at what seems like a weekly cadence.

    Well CVEs are coming out on a weekly cadence, so… ¯\_(ツ)_/¯

    Just because there's a new version of a package (kernel or otherwise) doesn't mean you have to install. If there's a mitigation for a particular CVE, you can mitigate instead of install/reboot.

    Replies (2)
    1. Do you have any idea how much unplanned work that is?

      Microsoft's way is far superior — it's done on a predictable schedule, once a month.

      The number of times there was a flaw so critical they released an out-of-band patch has to number in the single digits.

      This drip, drip, drip method Linux is employing is not sustainable. It's causing chaos for IT departments.

      It's effectively turned Debian Stable into a rolling release distro.

      Replies (7)
      1. > The number of times there was a flaw so critical they released an out-of-band patch has to number in the single digits.

        The number of times there was a flaw so critical that they should have released an OOB patch, but didn't because customers don't like updating, is substantially higher.

      2. > Do you have any idea how much unplanned work that is? Microsoft's way is far superior — it's done on a predictable schedule, once a month.

        > The number of times there was a flaw so critical they released an out-of-band patch has to number in the single digits.

        > This drip, drip, drip method Linux is employing is not sustainable. It's causing chaos for IT departments.

        > It's effectively turned Debian Stable into a rolling release distro.

        We'll ask the malicious actors to wait until you're patched next month so it doesn't impact your OKRs

      3. Nothing stops you from upgrading Debian once a month. Or going with unattended-upgrades and rebooting once a month to switch to a new kernel.
        Replies (1)
        1. I deployed unattended-upgrades across a fairly large number of systems with automatic reboots.

          Coupled with needsrestart, it is the closest you can get to “patch as soon as possible” without having to run ansible/salt/puppet to upgrade systems.

          Rebooting an Ubuntu system takes less than a minute nowadays. Pretty sure Debian is the same.

          Got bitten once on a physical server running Proxmox, but the fix was easy and it works reliably.

          I would rather have 15 minutes of downtime on a system (average time it takes to connect to the console and reboot with a previously known good kernel) than to spend an incredible amount of time cleaning up after a breach (been there, done that, not fun at all, especially when the lawyers are called).

          Replies (2)
          1. > Got bitten once on a physical server running Proxmox, but the fix was easy and it works reliably.

            Just as I'm thinking on trying out proxmox on a physical server... Can you expand on this?

            Replies (1)
            1. Yes, it was an issue with ifupdown2-pre.service. It would hang indefinitely, and because the networking service has a dependency on it, that would fail too.

              The solution was to mask it: systemctl mask ifupdown2-pre.service

              It happened on a single server so I did not spend time tracking the actual root cause. Found other reports for this and the resolution was the same: mask the service.

          2. > Rebooting an Ubuntu system takes less than a minute nowadays

            When there’s no f-u. Which is usually but not always.

            Surely you too have had the “wtf why did you do that” experience with an upgrade on a stable system changing some behavior and breaking your setup. Instantly hours down the drain.

            ETA: I see this was kind of your point, but with the opposite conclusion.

            Replies (1)
            1. On Ubuntu, yeah. Ubuntu is very unstable with dist-upgrdes (admittedly, I haven't used it for many years).

              On Debian I've just recently updated an old Debian 8 server to Debian 13. It took about an hour, because I've verified what apt plans to update/remove, but everything worked smoothly. And now it just works with unattended-upgrades enabled. Debian is very good at being stable.

      4. The difference is that Microsoft is releasing a new fix, where the release of patch can be the first information to potential attackers; while Debian is re-releasing a fix that is known to attackers as soon as the upstream (e.g. kernel) has released it.

        That changes things significantly. IIRC the recent data from major vulnerabilities like PHP2shell show that now attackers can go from seeing a patch to reverse engineering it; to finding the vulnerability; to making and testing an exploit; and actively applying it all within 1 hour or so. This means you can't wait for weeks to re-release a patch that has been released by others - you either have to keep the patch secret until you can apply it everywhere (as Microsoft does, and what coordinated disclosure of the PHP patch tried), or you have to redistribute all upstream fixes on the same day as the upstream provider does.

        So going to predictable monthly releases is not something that Debian can do on its own - it can do it only if it coordinates it with e.g. Linux kernel and the other makers of key components and they agree to release their security patches on that schedule.

        Replies (1)
        1. I wonder if the fact that upstream applies security fixes as soon as they are made aware of them is sustainable going forward. If the entire Linux ecosystem isn't able anymore to keep up with the pace of these changes (not without causing frequent regressions downstream to OS users), and batching releases is impossible because of the almost zero time window we now have between a security bug and an exploit, I can't think of a better solution than trying to batch security fixes upstream (obviously trying to do CVD, which is very hard but maybe better than what we have now).
      5. > The number of times there was a flaw so critical they released an out-of-band patch has to number in the single digits.

        This might have been generally true 20 years ago. It is definitely not for the last several months (at least for external facing services). And is unlikely to be true going forward.

      6. > Do you have any idea how much unplanned work that is?

        Yes: I've been a sysadmin for >20 years. I help to run several hundred Linux servers.

        > Microsoft's way is far superior — it's done on a predictable schedule, once a month.

        Well, tell the folks finding the vulnerabilities to find them on a predictable schedule then.

      7. > It's effectively turned Debian Stable into a rolling release distro.

        It's the userland that stays at stable versions. Security patches have always been available as soon as they're ready.

    2. Daily, hourly cadence.
      Replies (1)
      1. The only thing worse than having too many option sis having too few options.

        They could settle on a monthly cadence with exceptional out-of-band for special cases that warrant this.

        Replies (1)
        1. Thats part of the problem though, when you have a wide range of customers with different needs they will have different 'special cases'.

          I try to work balance almost every day.

          Replies (1)
          1. I’ve never heard of a customer whose need was to stay with an exposed 9.8 vulnerability. If your solution relies on that particular “feature” staying as is, you designed it wrong [1].

            Features and regular security fixes can be done on a known cadence so you can plan for the changes. If you are stuck on old versions for some objective reason the fix is easy: pay for special support, it happens all the time. Critical security fixes for the officially supported versions should come as fast as humanly possible (aligned with the disclosure or the discovery of exploits in the wild).

            But if you can hyperbolically go with “daily, hourly” to argue against timely patches, then I could do the same with “yearly, never”. Ubuntu now stands out of the pack (of big ones at least) for being the only ones who just can’t make it. The reason is with them, not with the expectation for timely patches.

            [1] https://xkcd.com/1172/

            Replies (2)
            1. I assure you first hand, there are customers who demand updates "once a week" even with looming 9.8 rated flaws.

              They have large runways for validation and compliance they need to adhere to. I once thought like you did.

            2. Daily/Hourly is not hyperbole.

              Companies buy contractual agreements to get CVE's fixed within a certain timeframe.

              I've had to release a kernel at 4:00PM on monday, a CISA KEV was nominated (and i imagine running at the same time) and the tests were running on top of the previous build + tests / validation for the KEV which got released 5:30 PM the same day.

              Embargoes mean things, contracts have requirements. Your hyperbole is my reality.