Why urgent security patches are slow, and four ways to speed them

In short

What are the stages between a bug report and a patched device?

The post lists six stages most updates go through:

The post calls this simplified: stages can repeat, for example when a patch is rewritten after a failed test, and third parties add more.

Why do emergency patches take so long?

Triage is usually fast when a vendor knows the problem is urgent, development can be given priority, and partner agreements usually have emergency exceptions. Project Zero says it has seen urgent patches delayed at triage or development only rarely: when a bug is especially complex, or when a vendor's security team lacks a full picture of its software's parts and who maintains them.

Most vendors are held up by testing and delivery. Testing matters because any change can cause unexpected behaviour. The worst case is a "bricked" device that can no longer work or receive updates. The cost depends on the software: a broken phone app can be replaced from an app store, while a bricked phone must go back to the maker or shop, which is costly for the vendor and possibly the user. Faulty updates can also corrupt or lose data, and a loss of function after a security update makes users less willing to install the next one.

Delivery has its own limits. Updates are often rolled out slowly so serious problems show up early. Devices that check for updates at a fixed interval have their patch coverage limited to that interval, and "push" systems are faster but need more infrastructure. Users delay patches that need their action, and updating everyone at once can strain delivery systems. Because an emergency leaves little time, these delays weigh more heavily than in a normal update. The post says speed and avoiding buggy patches are often at odds.

What can vendors do to patch faster?

Feature flags. The post gives the 2019 FaceTime vulnerability as a widely reported case: Apple temporarily disabled Group FaceTime with a flag. It says several vendors make some media codecs, which handle audio and video, switchable by flag in "0-click" contexts (where no user action is needed to reach the code), and can fall back to another codec for realtime transmission if one is being exploited. It also points to a Meta blog post on a "dual stack" library: two versions of the WebRTC video-conferencing library compiled into one program, with a flag choosing between them. A new version can ship with a quick way back to the old one. The post suggests the same could be done with two different libraries doing the same job, such as two H264 video libraries, so that one can be switched off for a specific bug. That would need extra testing, but the testing can be done up front. It also floats a second library that turns on costly protections such as ASAN (a memory-error checker) or DCHECKs (extra internal checks).

Filtering. Android's Intent Firewall lets specific uses of Android's "intents", its way of passing messages between apps, be switched off by rules in an XML file that can be updated remotely. The post says it was recently used to block vulnerabilities in third-party Android wallets. Endpoint security tools such as Microsoft Defender on Windows and Google Play Protect on Android can also take rules quickly, though they read a lot of untrusted input, often with high privilege, so they carry risk of their own.

Alternate channels. Android Pony Express (APEX) updates certain high-risk Android components faster than a full system update, and phone makers do not have to integrate those updates. The post also says several applications it has studied can update a single library outside normal updates, by checking a flag and then loading the downloaded library. It warns that this can introduce critical vulnerabilities if the app does not verify that the library really came from the vendor.

Hotpatching. Linux Livepatch can replace kernel functions in memory without a restart, and Windows hotpatch delivers updates that contain only changed functions. The post says some changes, such as changing the definition of a structure shared between functions, are sometimes not supported. Applying a hotpatch needs memory that can be both written and executed at some point, which can create ways to bypass exploit defences.

Why now?

The post says large language models (LLMs) are increasing the vulnerability-finding and exploitation abilities of both attackers and defenders, so more actors can run novel attacks faster. It argues that rapid-update systems need not be heavyweight or fix every bug with perfect user experience: for the most likely and severe bugs, flags, filtering and alternate channels can fix things in the short term while keeping devices reasonably usable. It urges vendors to take stock of what they already have and fill the gaps.

What the post does not say

Terms in plain English

Where things stand

The post is advice, with no deadline or commitment from any vendor. It asks vendors to plan before they receive an urgent report. We found no later primary page that changes the picture.

Sources

Sources

Related stories

More from Vulnerability Research

All stories from Vulnerability Research