The Wall Street Journal described the recent Friday the 13th “weekend from hell” this way:
The outages started on Thursday, when more than 450 million Microsoft 365 users couldn’t send or receive emails.
Then came Friday the 13th: Air travel nationwide was halted. The human-resources technology company Workday went down. By Monday, Chase’s banking services were disrupted, as were tools United Airlines uses to communicate with pilots. The next day, the National Security Agency’s internal network crashed. Apple had an outage.
Was it a coincidence that all these outages happened over one long weekend? Yes, it was. But that doesn’t mean the outages didn’t have a common cause. Here’s why:
1. Generative AI has made it much easier for software developers and researchers to find vulnerabilities in software and report them as new CVEs.
2. Gen AI has also made it much easier for attackers to find and exploit vulnerabilities in software.
3. Both developments have put enormous pressure on developers to develop and issue patches for new vulnerabilities in their software, as well as on organizations that use software to apply those patches as soon as possible. For the most part, both parties are doing that, meaning both patch issuance and patch applications are rapidly increasing.
4. However, every patch carries some risk of breaking something in the system being patched or the systems it’s connected to – or in both. Ergo, a sharp increase in the number of patches applied inevitably increases the risk of outages caused by applying a patch. We’re now seeing the results of that.
Last week, Ezra Klein of the New York Times published a great podcast (with complete transcript) that addressed this problem (and related ones). His guest was Nicole Perlroth, who was the cybersecurity reporter for the Times for ten years and is now still very much involved in the field. It’s a great discussion to watch or read. Here are two quotes from Nicole:
Unfortunately, it is now very easy to find a vulnerability with A.I. and exploit it. It is still very hard to fix that vulnerability and install a patch. There’s no easy button for patching. But right now, there’s so much pressure to roll out these software updates as quickly as possible…
…
One thing I learned since I stepped out of journalism and fell down the cyber rabbit hole was how I had been so black-and-white in my coverage: There’s a vulnerability?..Roll out a patch. Oh, you’re running old software? Rip and replace it.
In other words, what Nicole used to consider the solution to the problem of newly discovered vulnerabilities has literally become the problem: Outages are bound to increase when patching increases. And when those outages occur in critical infrastructure like the air traffic control system, they cause much more damage to society than when they occur in for example a toy factory.
But there’s another factor that makes this situation worse: Some cybersecurity regulations require that patches be applied for most vulnerabilities, meaning that organizations subject to them are under the gun to apply most patches as soon as possible. In other words, mandatory patch or vulnerability management requirements might, if not written carefully, lead to more unplanned outages than would otherwise occur.
Since newly identified CVEs have more than doubled this year and have been increasing rapidly in recent years (this year, more than five times as many new CVEs will be discovered than were discovered five years ago in 2021) it’s not going out on a limb to say there are few organizations that can ever hope to patch every vulnerability that currently applies to the systems they operate, let alone all that will appear in the coming years.
What’s even more important is the fact that only a tiny fraction of CVEs will ever be exploited “in the wild”. The best way to illustrate this is by comparing the number of CVEs listed in CISA’s Known Exploited Vulnerabilities (KEV) catalog – which is considered the gold standard for identifying exploitation of vulnerabilities – with total CVEs reported since the CVE program began in 1999. As of November 25, the former number was 1,795 and the latter was 411,000. This means that only .44% of all CVEs ever published have been exploited in the wild, which of course is less than ½ of 1%.
This means that, if your company utilizes only one software product but you apply every patch that’s available for that product - and if the developer issues a single patch for every vulnerability that’s identified in that product - over 99.5% of your patching effort will be wasted, speaking retrospectively. Thus, your hard work of patching will have yielded only a tiny reduction in your organization’s risk of compromise due to unpatched software vulnerabilities.
For this reason, cybersecurity regulations that mandate applying every patch, or even most patches, will most likely lead to more unplanned outages, not fewer. Consider these three regulations:
A. In its 2019 Binding Operational Directive 19-02, CISA required federal agencies (and highly recommended to critical infrastructure operators) to patch critical vulnerabilities (those with a CVSS Base Score of 9.0 or greater) within 15 days, and highs (i.e., CVSS>7.0) in 30 days. This BOD was replaced last April by BOD 26-04, which requires agencies to use SSVC to prioritize vulnerabilities for remediation.
SSVC renders a “decision” for each vulnerability regarding the priority with which it should be addressed; there are six possible decisions. The top five decisions require remediation within 3 to 60 days, while the lowest priority decision requires remediation during the next system upgrade. Of course, the primary remediation will always be a patch, although if no patch is available (or if one is available but it can’t be applied) and the vulnerability is a serious one, the agency will presumably be expected to mitigate the vulnerability in another way. In other words, except for the most benign vulnerabilities (those that fall into the sixth category), an agency needs to apply a patch if it’s available (for a further discussion of SSVC, see this post. I expect to elaborate on that discussion in a new post soon).
B. PCI DSS 4.0.1 Requirement 6.3.3, the current version published in June 2024, requires that organizations subject to PCI DSS compliance (primarily retailers who accept credit or debit card payments) patch critical vulnerabilities within 30 days and other vulnerabilities within “an appropriate time frame as determined by the entity’s assessment of the criticality of the risk to the environment as identified according to the risk ranking process at Requirement 6.3.1.” Requirement 6.3.1 mandates that “all vulnerabilities considered to be a high-risk or critical to the environment” need to be addressed in Requirement 6.3.3. However, it doesn’t require that other vulnerabilities be addressed at all.
C. NERC CIP-007-6 Requirement R2 Parts 2.2 and 2.3 require that a Responsible Entity (usually an electric utility or Independent Power Producer) determine every 35 days what security patches have been released by any supplier of software or firmware in use within their Electronic Security Perimeters (essentially, these are the more critical OT networks). Then they must determine which of those patches are applicable to any product they use.
Within the next 35 days, the RE must either apply each patch or develop a mitigation plan for the vulnerability or vulnerabilities addressed by the patch; that plan needs to be renewed every 35 days until the patch is applied. In other words, any security patch released by an OT vendor needs to be applied, or the risk(s) it addresses need to be mitigated in another way. There’s no option not to apply a patch, no matter how insignificant the vulnerability fixed by the patch may be.
To summarize:
A. CISA BOD26-04 requires that government agencies apply all but the least critical patches within 3-60 days. The priority of a vulnerability (and of the patch that fixes it) is determined by its SSVC decision. Since the values of the variables behind that decision are outside of the agency’s control, the agency needs to apply every patch that comes its away within 60 days, unless the SSVC decision allows the agency to wait for the next system upgrade to apply the patch.
B. PCI DSS only requires that critical and high risk vulnerabilities be patched. Since the entity determines the risk level of each vulnerability, they don’t have to apply any patch unless they’re convinced that patching the vulnerability fixed by the patch mitigates an important risk.
C. NERC CIP-007 R2 differs from the other two compliance regimes because it’s a patch management, not a vulnerability management, requirement. The utility needs to apply every patch put out by the vendor of any product they use within their OT environment, even if they don’t think the vulnerability patched is a significant one or if they believe the vulnerability is completely mitigated by a separate control they have in place.
Of course, regular patching is without doubt one of the most important security controls, and having to comply with CIP-007 R2 has certainly been in part responsible for the fact that there has never been a successful cyberattack on the North American power grid, despite tens of thousands of daily attacks. However, this is also the most expensive CIP requirement to comply with, and that cost is escalating in line with the rapid increase in new vulnerabilities. CIP-007 R2 needs to – and will probably be - replaced by a vulnerability management requirement within two years.
To summarize, the rapid escalation in growth of the number of new CVEs leads to an increasing risk of outages caused by patching. And some patching requirements make this problem worse, not better.
Tom Alrich’s Blog, too is a reader-supported publication. You can view new posts for three months after they come out by becoming a free subscriber. You can also access all of my 1300 existing posts dating back to 2013, as well as support my work, by becoming a paid subscriber for $30 for one year (and if you feel so inclined, you can become a founding subscriber for $100). Whether free or paid, please subscribe. Of course, if you can’t afford the $30, please email me and I’ll give you a complimentary one-year full subscription (this offer doesn’t apply to bots).
If you would like to comment on what you have read here, I would love to hear from you. Please comment in my chat or email me at [email protected].