GHSA-r5xw-q988-826m
JSON

5.1medium

Remote Memory Exposure in mongoose

Severity
5.1medium CVSS:3.1 by GitHub
Published
Last changed

Description

Versions of mongoose before 4.3.6, 3.8.39 are vulnerable to remote memory exposure.

Trying to save a number to a field of type Buffer on the affected mongoose versions allocates a chunk of uninitialized memory and stores it in the database.

Recommendation

Update to version 4.3.6, 3.8.39 or later.

Affected

Product or packageVersionsReported by
mongoose (npm)from 3.5.5 before 3.8.39, from 4.0.0 before 4.3.6GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-r5xw-q988-826m changed 2023-12-07CC-BY-4.0