Open Source Licenses: GPL, MIT, Apache, LGPL and AGPL

Open source initiative logo
Open source initiative logo

Open source software is software whose license permits users, subject to its terms, to inspect the source code, use it, modify it and distribute it. Public availability of source code does not place it in the public domain or necessarily permit unrestricted use. Commercial use may also be permitted, but a distinction should be drawn between licenses that grant relatively broad freedoms and those that require certain licensing conditions to be preserved when the software is distributed. See also the Open Source Initiative’s Open Source Definition.

To assess the legal risks, it is necessary to identify the license and version applicable to each component, determine whether the code has been modified or incorporated into other software, and distinguish between internal use, distribution of copies to customers and operation of an online service. These distinctions affect attribution requirements, obligations to provide license notices and obligations to make source code available to those entitled to receive it.

Copyright in Computer Software

Original computer software may be protected by copyright as a literary work. In Civil Appeal 139/89, Harpaz v. Achituv, the Israeli Supreme Court recognized that protection is not necessarily limited to the literal code and may extend to original expressions at the design and specification stages. This does not, however, confer blanket protection on every idea or function of the software. Under Section 5 of the Israeli Copyright Law, 2007, protection extends to original expression, rather than to an idea, process or method of operation as such. For further discussion, see our guide to software copyright in Israel.

Open Source Software and the Need for a License

Using open source code does not mean using software without a license. The copyright owner grants permission to reproduce, modify and distribute the code, subject to the terms of the license applicable to the component. Certain obligations, such as retaining a copyright notice or making source code available upon distribution, form part of the conditions of that permission. Non-compliance may give rise to claims for breach of contract and, in appropriate circumstances, copyright infringement. Not every technical breach of a contractual provision necessarily constitutes copyright infringement.

A distinction should be drawn between permissive licenses, such as MIT or Apache 2.0, and copyleft licenses, such as GPL, LGPL and AGPL. All permit commercial use in principle, but they differ in the scope of the obligations imposed on those who distribute software or incorporate components into it. For the distinction between licensing and assignment of rights, see our article on copyright assignment and licensing in Israel.

GNU GPL: When Must Source Code Be Made Available?

The GNU General Public License (GPL) is a copyleft license. It permits use, study, modification and distribution of software, including for payment. However, when copies of software subject to the license, or of a derivative work covered by it, are distributed, the license conditions must be satisfied, including making the corresponding source code available to recipients of the software by the means permitted under the applicable license version. The precise requirements differ between GPLv2 and GPLv3, so the wording and version of the license actually applicable should be examined.

Internal use of software, including modification for business purposes, does not in itself require publication of the code. The ordinary GPL also does not generally impose an obligation to provide source code merely because the software runs on a server and users access the service over a network without receiving a copy of the software. Distribution of combined software, by contrast, may raise questions concerning the scope of the work covered by the license and compatibility among the licenses applicable to its components. It should not be assumed either that incorporating any GPL-licensed library automatically requires disclosure of all of a company’s code or that such incorporation has no implications at all. See the official GNU license FAQ.

MIT and Apache 2.0: Permissive Licenses

The MIT License generally permits the use, modification, distribution and incorporation of code into commercial or proprietary software, provided that the copyright notice and permission notice are retained in copies or substantial portions of the software. The license does not generally require distribution of the source code of the application incorporating the component.

The Apache License 2.0 also permits commercial use and distribution on broad terms. It includes, among other matters, an express patent license from contributors, a requirement to identify changes in modified files, and obligations relating to the retention of notices and inclusion of a NOTICE file where one exists and is relevant. It should not be regarded as identical to the MIT License, particularly where patent issues or compatibility with other licenses arise.

LGPL and AGPL: Software Libraries and Cloud Services

The GNU LGPL is used, among other purposes, for software libraries and permits, under certain conditions, the incorporation or linking of a library into software that is not distributed under the same license. Upon distribution, obligations may arise concerning the source code of the library and modifications to it, license notices and the ability to replace or relink the library. The distinctions between LGPLv2.1 and LGPLv3 and the technical manner of integration should be examined.

Section 13 of the GNU AGPLv3 establishes a specific obligation in relation to a modified version: where users interact with it remotely through a computer network, they must be offered access to the corresponding source code of that version, subject to the terms of the license. Use of AGPL-licensed software in a SaaS service therefore requires separate examination, even if copies are not distributed to customers. This does not mean that every cloud service must disclose all of its code. It is necessary to determine which component is covered, whether it has been modified and how it relates to the rest of the system. For the contractual context, see our guide to SaaS agreements and cloud services.

Enforcement of Open Source License Conditions in Case Law

In the US decision Jacobsen v. Katzer, 535 F.3d 1373 (Fed. Cir. 2008), which concerned the Artistic License, the court held that attribution and documentation of modifications may constitute conditions of a copyright license, breach of which may support a claim for copyright infringement rather than merely breach of contract. The appellate court vacated the decision denying preliminary injunctive relief and remanded the case for further proceedings; it did not order the companies to disclose source code. The decision illustrates the importance of the precise wording of the license, but it is not binding precedent in Israel. See the judgment.

Legal Risks of Using Open Source Software

Use of an open source component in violation of its license terms may lead to demands to cease distribution, remedy license violations, make source code available where such an obligation exists, and to related legal claims. There is no general obligation requiring every business using open source software to publish the source code of its entire product. The outcome depends on the license, its version, the modifications made, the software architecture and the manner of use or distribution.

As a practical matter, it is advisable to maintain an inventory of open source components, including transitive dependencies, versions and licenses; retain copyright notices and license files; examine compatibility among licenses when combining components; and ensure that the development agreement specifies who is responsible for license review, delivery of the code and violations of third-party licenses. In a company acquisition, the inventory of components and licenses provides a basis for copyright and software due diligence. See also our guide to software development agreements. These issues are also relevant to legal advice for high-tech companies and startups and advice in the field of computer law and internet law.

Have a question about the article?

You might also be interested in