Skip to content

Commit fde0642

Browse files
authored
Merge pull request #3450 from ProgrammeVitam/cp80_bug_15571
CP V8.0 - Bug #15571: Disabling zlib compression on mongod servers.
2 parents 1ff6e8b + 39280ab commit fde0642

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deployment/roles/mongo/templates/mongod.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ net:
3838
pathPrefix: {{ mongo_tmp_path }}
3939
filePermissions: 0700
4040

41+
# Mitigate CVE-2025-14847 ("MongoBleed") by disabling zlib compressor
42+
compression:
43+
compressors: snappy,zstd
44+
4145
# operationProfiling:
4246
replication:
4347
replSetName: shard{{ mongo_shard_id | default(0) }} # name of the replica set

0 commit comments

Comments
 (0)