2019-03-15 20:51:40 +01:00
|
|
|
# MongoDB Third Party Dependencies
|
|
|
|
|
|
|
|
MongoDB depends on third party libraries to implement some
|
|
|
|
functionality. This document describes which libraries are depended
|
|
|
|
upon, and how. It is maintained by and for humans, and so while it is a
|
2022-04-04 23:42:32 +02:00
|
|
|
best effort attempt to describe the server's dependencies, it is subject
|
2019-03-15 20:51:40 +01:00
|
|
|
to change as libraries are added or removed.
|
|
|
|
|
|
|
|
## Server Vendored Libraries
|
|
|
|
|
|
|
|
This is the list of third party libraries vendored into the server
|
|
|
|
codebase, and the upstream source where updates may be obtained. These
|
|
|
|
sources are periodically consulted, and the existence of new versions is
|
|
|
|
reflected in this list. A ticket is filed in Jira if a determination is
|
|
|
|
made to upgrade a vendored library.
|
|
|
|
|
|
|
|
Whenever a vendored library is included in released binary artifacts, is
|
|
|
|
not authored by MongoDB, and has a license which requires reproduction,
|
|
|
|
a notice will be included in
|
|
|
|
`THIRD-PARTY-NOTICES`.
|
|
|
|
|
2024-02-27 20:47:14 +01:00
|
|
|
| Name | License | Vendored Version | Emits persisted data | Distributed in Release Binaries |
|
|
|
|
| -------------------------- | -------------------------------------------------------------- | -------------------------------------------------- | :------------------: | :-----------------------------: |
|
|
|
|
| [abseil-cpp] | Apache-2.0 | 20230802.1 | | ✗ |
|
|
|
|
| [Aladdin MD5] | Zlib | Unknown | ✗ | ✗ |
|
|
|
|
| [ASIO] | BSL-1.0 | 1.12.2 | | ✗ |
|
|
|
|
| [benchmark] | Apache-2.0 | 1.5.2 | | |
|
|
|
|
| [Boost] | BSL-1.0 | 1.79.0 | | ✗ |
|
|
|
|
| [c-ares] | MIT | 1.19.1 | | ✗ |
|
2024-03-13 20:22:20 +01:00
|
|
|
| [CRoaring] | Apache-2.0/ MIT | 2.1.2.1 | | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [fmt] | BSD-2-Clause | 7.1.3 | | ✗ |
|
|
|
|
| [GPerfTools] | BSD-3-Clause | 2.9.1 | | ✗ |
|
|
|
|
| [gRPC] | Apache-2.0 | 1.59.2 | | ✗ |
|
|
|
|
| [ICU4] | ICU | 57.1 | ✗ | ✗ |
|
|
|
|
| [immer] | BSL-1.0 | d98a68c + changes | | ✗ |
|
|
|
|
| [Intel Decimal FP Library] | BSD-3-Clause | 2.0 Update 1 | | ✗ |
|
|
|
|
| [JSON-Schema-Test-Suite] | MIT | 728066f9c5 | | |
|
|
|
|
| [libstemmer] | BSD-3-Clause | Unknown | ✗ | ✗ |
|
|
|
|
| [librdkafka] | BSD-2-Clause | 2.0.2 | | |
|
|
|
|
| [libmongocrypt] | Apache-2.0 | 1.8.4 | ✗ | ✗ |
|
|
|
|
| [linenoise] | BSD-3-Clause | 6cdc775 + changes | | ✗ |
|
2024-07-02 04:17:24 +02:00
|
|
|
| [mongo-c-driver] | Apache-2.0 | 1.27.1 | ✗ | ✗ |
|
2024-05-11 00:13:40 +02:00
|
|
|
| [MozJS] | MPL-2.0 | ESR 115.7 | | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [MurmurHash3] | Public Domain | a6bd3ce + changes | ✗ | ✗ |
|
|
|
|
| [ocspbuilder] | MIT | 0.10.2 | | |
|
|
|
|
| [ocspresponder] | Apache-2.0 | 0.5.0 | | |
|
|
|
|
| [pcre2] | BSD-3-Clause | 10.40 | | ✗ |
|
|
|
|
| [protobuf] | BSD-3-Clause | 4.25.0 | | ✗ |
|
|
|
|
| [re2] | BSD-3-Clause | 2021-09-01 | | ✗ |
|
2024-03-01 01:55:41 +01:00
|
|
|
| [S2] | Apache-2.0 | c872048da5d1 + changes | ✗ | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [SafeInt] | MIT | 3.0.26 | | |
|
|
|
|
| [schemastore.org] | Apache-2.0 | 6847cfc3a1 | | |
|
|
|
|
| [scons] | MIT | 3.1.2 | | |
|
|
|
|
| [Snappy] | BSD-3-Clause | 1.1.10 | ✗ | ✗ |
|
2024-02-29 06:10:33 +01:00
|
|
|
| [TCMalloc] | Apache-2.0 | 093ba93 + changes | | ✗ |
|
2024-06-20 10:46:17 +02:00
|
|
|
| [timelib] | MIT | 2022.10 | | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [TomCrypt] | Public Domain | 1.18.2 | ✗ | ✗ |
|
|
|
|
| [Unicode] | Unicode-DFS-2015 | 8.0.0 | ✗ | ✗ |
|
|
|
|
| [libunwind] | MIT | 1.6.2 + changes | | ✗ |
|
2024-02-28 20:16:23 +01:00
|
|
|
| [lz4] | BSD-2-Clause | 1.9.3 | | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [Valgrind] | BSD-4-Clause<sup>\[<a href="#note_vg" id="ref_vg">1</a>]</sup> | 3.17.0 | | ✗ |
|
|
|
|
| [wiredtiger] | | <sup>\[<a href="#note_wt" id="ref_wt">2</a>]</sup> | ✗ | ✗ |
|
2024-02-28 20:16:23 +01:00
|
|
|
| [xxHash] | BSD-2-Clause | 0.8.0 | | ✗ |
|
2024-02-27 20:47:14 +01:00
|
|
|
| [yaml-cpp] | MIT | 0.6.3 | | ✗ |
|
|
|
|
| [Zlib] | Zlib | 1.3 | ✗ | ✗ |
|
|
|
|
| [Zstandard] | BSD-3-Clause | 1.5.5 | ✗ | ✗ |
|
2024-02-28 20:16:23 +01:00
|
|
|
| [zydis] | MIT | 4d4fe4c293c5438f32688b14b29017ae3f48369e | | ✗ |
|
2019-04-01 19:07:09 +02:00
|
|
|
|
|
|
|
[abseil-cpp]: https://github.com/abseil/abseil-cpp
|
|
|
|
[ASIO]: https://github.com/chriskohlhoff/asio
|
|
|
|
[benchmark]: https://github.com/google/benchmark
|
|
|
|
[Boost]: http://www.boost.org/
|
2024-03-13 20:22:20 +01:00
|
|
|
[CRoaring]: https://github.com/RoaringBitmap/CRoaring
|
2019-04-08 17:28:13 +02:00
|
|
|
[fmt]: http://fmtlib.net/
|
2019-04-01 19:07:09 +02:00
|
|
|
[GPerfTools]: https://github.com/gperftools/gperftools
|
2023-12-07 22:03:26 +01:00
|
|
|
[gRPC]: https://github.com/grpc/grpc
|
2019-04-01 19:07:09 +02:00
|
|
|
[ICU4]: http://site.icu-project.org/download/
|
2023-05-03 21:19:37 +02:00
|
|
|
[immer]: https://github.com/arximboldi/immer
|
2019-04-01 19:07:09 +02:00
|
|
|
[Intel Decimal FP Library]: https://software.intel.com/en-us/articles/intel-decimal-floating-point-math-library
|
|
|
|
[JSON-Schema-Test-Suite]: https://github.com/json-schema-org/JSON-Schema-Test-Suite
|
|
|
|
[libstemmer]: https://github.com/snowballstem/snowball
|
2023-03-21 00:04:58 +01:00
|
|
|
[librdkafka]: https://github.com/confluentinc/librdkafka
|
2023-07-24 23:49:13 +02:00
|
|
|
[libmongocrypt]: https://github.com/mongodb/libmongocrypt
|
2019-04-01 19:07:09 +02:00
|
|
|
[linenoise]: https://github.com/antirez/linenoise
|
2024-02-28 20:16:23 +01:00
|
|
|
[lz4]: https://github.com/lz4/lz4
|
2023-07-25 00:19:16 +02:00
|
|
|
[mongo-c-driver]: https://github.com/mongodb/mongo-c-driver
|
2019-04-01 19:07:09 +02:00
|
|
|
[MozJS]: https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox-esr
|
2024-01-22 16:35:54 +01:00
|
|
|
[MurmurHash3]: https://github.com/aappleby/smhasher/blob/a6bd3ce/
|
2019-11-15 01:18:36 +01:00
|
|
|
[ocspbuilder]: https://github.com/wbond/ocspbuilder
|
|
|
|
[ocspresponder]: https://github.com/threema-ch/ocspresponder
|
2022-04-05 21:39:53 +02:00
|
|
|
[pcre2]: http://www.pcre.org/
|
2023-12-07 22:03:26 +01:00
|
|
|
[protobuf]: https://github.com/protocolbuffers/protobuf
|
2019-04-01 19:07:09 +02:00
|
|
|
[S2]: https://github.com/google/s2geometry
|
2019-05-22 05:26:25 +02:00
|
|
|
[SafeInt]: https://github.com/dcleblanc/SafeInt
|
2020-10-08 11:13:49 +02:00
|
|
|
[schemastore.org]: https://www.schemastore.org/json/
|
2019-04-01 19:07:09 +02:00
|
|
|
[scons]: https://github.com/SCons/scons
|
|
|
|
[Snappy]: https://github.com/google/snappy/releases
|
2024-02-29 06:10:33 +01:00
|
|
|
[TCMalloc]: https://github.com/google/tcmalloc
|
2019-04-01 19:07:09 +02:00
|
|
|
[timelib]: https://github.com/derickr/timelib
|
|
|
|
[TomCrypt]: https://github.com/libtom/libtomcrypt/releases
|
|
|
|
[Unicode]: http://www.unicode.org/versions/enumeratedversions.html
|
2022-03-12 05:27:58 +01:00
|
|
|
[libunwind]: http://www.nongnu.org/libunwind/
|
2019-04-01 19:07:09 +02:00
|
|
|
[Valgrind]: http://valgrind.org/downloads/current.html
|
|
|
|
[wiredtiger]: https://github.com/wiredtiger/wiredtiger
|
2024-02-28 20:16:23 +01:00
|
|
|
[xxHash]: https://github.com/Cyan4973/xxHash
|
2019-04-01 19:07:09 +02:00
|
|
|
[yaml-cpp]: https://github.com/jbeder/yaml-cpp/releases
|
|
|
|
[Zlib]: https://zlib.net/
|
|
|
|
[Zstandard]: https://github.com/facebook/zstd
|
2024-02-28 20:16:23 +01:00
|
|
|
[zydis]: https://github.com/zyantific/zydis
|
2019-03-15 20:51:40 +01:00
|
|
|
|
|
|
|
## WiredTiger Vendored Test Libraries
|
|
|
|
|
|
|
|
The following Python libraries are transitively included by WiredTiger,
|
2022-04-04 23:42:32 +02:00
|
|
|
and are used by that component for testing. They don't appear in
|
2019-03-15 20:51:40 +01:00
|
|
|
released binary artifacts.
|
|
|
|
|
|
|
|
| Name |
|
|
|
|
| :-------------- |
|
|
|
|
| concurrencytest |
|
|
|
|
| discover |
|
|
|
|
| extras |
|
2024-05-24 19:48:41 +02:00
|
|
|
| iso8601 |
|
|
|
|
| nlohmann/json |
|
2019-03-15 20:51:40 +01:00
|
|
|
| python-subunit |
|
|
|
|
| testscenarios |
|
|
|
|
| testtools |
|
|
|
|
|
|
|
|
## Dynamically Linked Libraries
|
|
|
|
|
|
|
|
Sometimes MongoDB needs to load libraries provided and managed by the
|
|
|
|
runtime environment. These libraries are not vendored into the MongoDB
|
|
|
|
source directory, and are not compiled into release artifacts. Because
|
|
|
|
they are provided by the runtime environment, the precise versions of
|
|
|
|
these libraries cannot be known in advance. Further, these libraries may
|
|
|
|
themselves load other libraries. The full set of transitively linked
|
|
|
|
libraries will depend on the runtime environment, and cannot be outlined
|
|
|
|
here. On Windows and Mac OS, other libraries and components provided by
|
|
|
|
the Operating System may be loaded.
|
|
|
|
|
|
|
|
For Windows Enterprise, we may ship precompiled DLLs containing some of
|
|
|
|
these libraries. Releases prepared in this fashion will include a copy
|
2022-04-04 23:42:32 +02:00
|
|
|
of these libraries' license in a file named
|
2019-03-15 20:51:40 +01:00
|
|
|
`THIRD-PARTY-NOTICES.windows`.
|
|
|
|
|
2024-02-27 20:47:14 +01:00
|
|
|
| Name | Enterprise Only | Has Windows DLLs |
|
|
|
|
| :--------- | :-------------: | :-----------------------------------------------------: |
|
|
|
|
| Cyrus SASL | Yes | Yes |
|
|
|
|
| libldap | Yes | No |
|
|
|
|
| net-snmp | Yes | Yes |
|
|
|
|
| OpenSSL | No | Yes<sup>\[<a href="#note_ssl" id="ref_ssl">3</a>]</sup> |
|
|
|
|
| libcurl | No | No |
|
2019-04-01 19:07:09 +02:00
|
|
|
|
|
|
|
## Notes:
|
|
|
|
|
|
|
|
1. <a id="note_vg" href="#ref_vg">^</a>
|
2024-02-27 20:47:14 +01:00
|
|
|
The majority of Valgrind is licensed under the GPL, with the exception of a single
|
|
|
|
header file which is licensed under a BSD license. This BSD licensed header is the only
|
|
|
|
file from Valgrind which is vendored and consumed by MongoDB.
|
2019-04-01 19:07:09 +02:00
|
|
|
|
|
|
|
2. <a id="note_wt" href="#ref_wt">^</a>
|
2024-02-27 20:47:14 +01:00
|
|
|
WiredTiger is maintained by MongoDB in a separate repository. As a part of our
|
|
|
|
development process, we periodically ingest the latest snapshot of that repository.
|
2019-04-01 19:07:09 +02:00
|
|
|
|
|
|
|
3. <a id="note_ssl" href="#ref_ssl">^</a>
|
2024-02-27 20:47:14 +01:00
|
|
|
OpenSSL is only shipped as a dependency of the MongoDB tools written in Go. The MongoDB
|
|
|
|
shell and server binaries use Windows' cryptography APIs.
|