Security mailing lists by PureSourceCode

GHSA-r5xw-q988-826m

MEDIUM 5.1CVSS 3.1

Remote Memory Exposure in mongoose

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.

Published
1 Sep 2020
Last modified
7 Dec 2023
Weakness
CWE-201
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 5.1 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm mongoose >= 3.5.5, < 3.8.39 3.8.39
OSV npm mongoose >= 4.0.0, < 4.3.6 4.3.6

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.