Who pays for fixes to open source software?

Summary

The Log4Shell vulnerability in the Java library Log4j threatened banks, technology companies, governments and almost every other organisation in December 2021. Slashdot raised the question of who actually pays to fix such open source infrastructure. The vulnerability had been reported by an engineer at Alibaba, but unpaid volunteers had to fix it.

What is Log4j and why was the vulnerability so serious?

Log4j is a library that Java programs use to write logs. It is found in countless applications, often deep in dependencies that operators know nothing about. The vulnerability CVE-2021-44228 made it possible to load and execute code from the internet via a crafted string in a log line. A user name or a chat message was enough as a way in.

Worldwide, companies had to find out within a few days where Log4j was used at all. For many, that was exactly the biggest problem.

The real question

The debate was less about technology than about money and responsibility. An author on Dev.to described maintainers as unpaid outsourcing teams for large corporations. Andrew Ducker warned that the internet depends on software that people maintain in their spare time. Filippo Valsorda of the Go team at Google called for maintainers to become a real profession with training and a career path; donations via GitHub Sponsors or Patreon were not a serious basis for that.

What became of it

Log4Shell triggered more attention to the software supply chain. Software bills of materials, SBOMs for short, spread so that operators know more quickly which components they use. In 2022 Germany founded the Sovereign Tech Fund, which specifically finances the maintenance of open base software, and the Open Source Security Foundation received additional funds from large companies.

Ideas

  • A single library can be found in thousands of applications through dependencies.
  • Software bills of materials show which components a product contains.
  • Maintainers of open base software should be paid like a profession.

Insights

  • Anyone who uses open software commercially benefits from unpaid work and shares responsibility.
  • In an emergency, the hardest part is not patching but finding out everywhere the component is used.
  • Donations alone are not reliable funding for critical infrastructure.

Facts

  • The vulnerability has the identifier CVE-2021-44228 and became known in December 2021.
  • It was reported by an engineer at Alibaba.
  • Germany founded the Sovereign Tech Fund in 2022.

References

Remarks

  • The Sovereign Tech Fund is now part of the Sovereign Tech Agency and has financed work on central open source projects, among other things.

Recommendations

  • Keep a software bill of materials for your own applications so that you can react quickly to the next vulnerability.
  • Support the open source projects your operations depend on with money or working time.

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.