Software and SaaS
RelationshipDraft

Log4j, xz and government funding for open source security explained

National cybersecurity agencies such as the US CISA, the UK's NCSC, Germany's BSI and the EU's ENISA treat widely used open source as critical infrastructure: they issue alerts when a flaw like Log4Shell (2021) or the xz Utils backdoor (2024) is found, coordinate disclosure, publish guidance on software bills of materials and memory-safe languages, and increasingly fund maintainers directly, as Germany's Sovereign Tech Agency does. The EU's Cyber Resilience Act adds obligations for companies that ship open source in products, with a lighter regime for open source 'stewards'.

.md
Fig. What flows between them
  1. National cybersecurity agencies
    ↓ Vulnerability alerts, advisories and coordinated disclosure
    Open source maintainers & communities
  2. National cybersecurity agencies
    ↓ Grants and service contracts for security work (e.g. Sovereign Tech Agency)
    Open source maintainers & communities
  3. National cybersecurity agencies
    ↓ Secure-by-design guidance and product rules that reach open source
    Open source maintainers & communities
  4. ↓ Patches, security releases and hardened code
    National cybersecurity agencies
  5. Open source maintainers & communities
    ↓ Vulnerability reports and project security posture
    National cybersecurity agencies
The questions people ask

Quick answers

What was the Log4j vulnerability?

Log4Shell (CVE-2021-44228), disclosed in December 2021, was a flaw in the widely used Apache Log4j Java logging library that let attackers run code on servers by getting a crafted string logged. CISA called on organizations to patch urgently and published guidance and a list of affected products.

What was the xz Utils backdoor?

In March 2024 a Microsoft engineer, Andres Freund, discovered that malicious code had been inserted into the xz Utils compression library (CVE-2024-3094) by a contributor who had gained maintainer trust over about two years. It was caught before reaching most stable Linux distributions.

Does the government fund open source security?

Increasingly. Germany's Sovereign Tech Agency (formerly Sovereign Tech Fund, launched 2022) pays for maintenance and security work on critical open source; the US has funded security research and supports OpenSSF initiatives; and the EU funds open source through programs such as NGI.

What is the Sovereign Tech Fund?

It is a German government-funded program, now the Sovereign Tech Agency, that invests in maintaining and securing open source infrastructure software, funding projects such as OpenSSH, GNOME, curl components and package registries.

Does the Cyber Resilience Act apply to open source?

The EU's Cyber Resilience Act (Regulation 2024/2847) applies to products with digital elements placed on the market commercially. Non-commercial open source development is excluded, and organizations that systematically support open source used commercially can be 'open-source software stewards' with lighter duties.

What is a software bill of materials?

An SBOM is a machine-readable list of the components, including open source libraries, inside a piece of software. Cybersecurity agencies promote SBOMs so organizations can quickly find out whether they are affected by a vulnerability like Log4Shell.

01

How the relationship works#

01.1

Agencies depend on open source they do not control, and maintainers carry security duties they are rarely paid for. The relationship has moved from alerts after incidents to funding and rules before them.[1][2][3]

Consensus Link
  1. Cyber agency
    ↓ alerts, funding
    Maintainers
  2. ↓ patches
    Cyber agency
  3. ↓ advisories
    Large enterprise
  4. OSS foundation
    ↓ security programs
    Maintainers
How cybersecurity agencies and open source maintainers interact.
01.2

A series of incidents and responses defined the relationship.[4][5][2][1][6]

Consensus Link
  1. 1
    Heartbleed (OpenSSL)
    Discovered
    2014
  2. 2
    Log4Shell
    Disclosed
    2021
  3. 3
    Sovereign Tech Fund
    Germany
    2022
  4. 4
    CISA OSS roadmap
    US
    2023
  5. 5
    xz Utils backdoor
    Discovered
    2024
  6. 6
    Cyber Resilience Act
    EU
    2024
Milestones in government attention to open source security.
02

What flows between them#

02.2

Coordinated vulnerability disclosure is the core operating process.[4]

Consensus Link
  1. 1
    Researcher finds flaw
    Researcher
  2. 2
    Private report to maintainers
    Researcher
  3. 3
    Fix developed
    Maintainers
  4. 4
    CVE assigned
    CNA
  5. 5
    Coordinated release
    Maintainers, distros
  6. 6
    Agency advisory
    CISA, NCSC, BSI
How an open source vulnerability is disclosed and fixed.
03

Commercial structure#

03.1

Security money for open source comes from several sources, with government funding small but growing.[2][7][3]

Inferred Link
Company engineer time
Industry programs (OpenSSF, Alpha-Omega)
Government funds (STA, NGI)
Foundations
Donations
Relative scale · each block ≈ 4% of the largest
Rough mix of open source security funding sources (relative, judgment).
03.2

The Cyber Resilience Act sorts open source actors into roles with different duties.[6]

Verified Link
Cyber Resilience Act roles
Manufacturer
Ships commercial product, full duties
Open-source software steward
Supports OSS used commercially, light duties
Non-commercial developer
Out of scope
How the CRA treats open source participants.
04

How they communicate#

04.1

Agencies reach maintainers through advisories, the CVE system, distribution security teams, OpenSSF working groups and, increasingly, direct outreach to critical projects.

Consensus Link
  1. 1
    Security mailing lists
    Maintainers
  2. 2
    CVE and advisories
    CNAs, agencies
  3. 3
    Distro security teams
    Linux distributions
  4. 4
    OpenSSF working groups
    Industry
  5. 5
    Direct grants outreach
    STA, agencies
How agencies and maintainers communicate.
04.2

On the agency side, vulnerability management and open source security teams; on the project side, a handful of core maintainers and volunteer security contacts.

Consensus Link
  1. ↓ embargoed fix
    Distro security teams
Who handles open source security on each side.
05

Power dynamic#

05.1

Agencies have authority and money; maintainers have the only ability to fix the code. Many maintainers are volunteers who owe agencies nothing, which limits what agencies can demand.

Consensus Link
Cyber agencies
Their levers
  • Public alerts
  • Funding
  • Regulation of products
  • Convening power
Maintainers
Their levers
  • Sole merge rights
  • Volunteer status
  • No contract
  • Can walk away
VS
Who holds which levers between agencies and maintainers.
05.2

Policy is shifting liability from maintainers to the companies that ship open source in products, as in the CRA and US secure-by-design guidance.[6][1]

Consensus Link
  1. 1Incidents in OSS
  2. 2Pressure on maintainers
  3. 3Policy shifts to vendors
  4. 4Vendors fund upstream
Why liability moves to software vendors, not maintainers.
06

Friction & conflict#

06.1

Friction points.

Inferred Link
1
Unfunded demands
Fix it now, for free
2
Burnout
Few maintainers
3
Social engineering
xz-style takeovers
4
Regulatory fear
CRA uncertainty
5
CVE noise
Low-quality reports
6
Embargo leaks
Early disclosure
Where agencies and maintainers clash.
06.2

The xz case showed how an overworked solo maintainer can be pressured into sharing control with an attacker, which strengthened the case for funding maintainers directly.[5]

Consensus Link
  1. 1Solo maintainer burnout
  2. 2Helpful newcomer
  3. 3Gains commit rights
  4. 4Backdoor inserted
  5. 5Caught by chance
What the xz Utils backdoor revealed.
07

Regional variations#

07.1

Approaches differ by region.[1][2][6][8]

Consensus Link
  • 1CISA alerts, roadmap
  • 2Secure-by-design push
  • 1Sovereign Tech Agency funding
  • 2Cyber Resilience Act
  • 1NCSC guidance
  • 2Supply chain advice
  • 1Domestic OSS mirrors
  • 2Vulnerability reporting rules
How cybersecurity agencies approach open source by region.
07.2

China's 2021 vulnerability rules require reporting flaws to the government within two days, which affects how Chinese researchers disclose bugs in global open source.

Consensus Link
  1. 1Researcher finds flaw
  2. 2Report to MIIT
  3. 3Government sees first
  4. 4Disclosure timing debated
How China's vulnerability rules affect open source disclosure.
09
Live · coming next

Pulse

What's happening with national cybersecurity agencies and open source maintainers & communities

Every headline, story, and sentiment shift about national cybersecurity agencies and open source maintainers & communities: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1CISA Open Source Software Security Roadmap , US Cybersecurity and Infrastructure Security Agency
  2. 2Sovereign Tech Agency (formerly Sovereign Tech Fund) , Sovereign Tech Agency (Germany)
  3. 3Open Source Security Foundation , OpenSSF (Linux Foundation)
  4. 4Apache Log4j vulnerability guidance , US Cybersecurity and Infrastructure Security Agency
  5. 5Reported supply chain compromise affecting XZ Utils data compression library (CVE-2024-3094) , US Cybersecurity and Infrastructure Security Agency
  6. 6Regulation (EU) 2024/2847 (Cyber Resilience Act) , EUR-Lex
  7. 7Alpha-Omega , Alpha-Omega (OpenSSF)
  8. 8National Cyber Security Centre , NCSC (UK)
Before you go

Did you find what you came here for?