Skip to content

Commit e00606a

Browse files
authored
Merge pull request #3444 from ProgrammeVitam/bug_15571
Bug #15571: Disabling zlib compression on mongod servers.
2 parents 8302aab + 192e2ca commit e00606a

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)