Description
A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays. An authenticated user with read privileges who is able to run server-side JavaScript (for example, via $where or $function) can cause the server to access memory that has already been freed. This may result in disclosure of information from the mongod process memory or a denial of service through a server crash.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
MongoDB MongoDB
Default version status: unaffected
8.3.0 to ≤ 8.3.3affected8.2.0 to ≤ 8.2.10affected8.0.0 to ≤ 8.0.25affected7.0.0 to ≤ 7.0.36affected6.0 to ≤ 6.0.28affected5.0 to ≤ 5.0.33affected4.4.0 to ≤ 4.4.30affected