{"schemaVersion":3,"id":"GHSA-R5XW-Q988-826M","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Remote Memory Exposure in mongoose\n\nVersions of `mongoose` before 4.3.6, 3.8.39 are vulnerable to remote memory exposure.\n\nTrying 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.\n\n\n## Recommendation\n\nUpdate to version 4.3.6, 3.8.39 or later.","dates":{"published":"2020-09-01T19:39:37.000Z","modified":"2023-12-07T22:05:28.000Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":true,"selection":"version-preference"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":3.6,"impact":6,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"Npm","product":"mongoose","name":"mongoose","label":"mongoose","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/mongoose","purlType":"npm","versions":[{"text":"≥ 3.5.5, < 3.8.39","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.3.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.5.5, < 3.8.39 | ≥ 4.0.0, < 4.3.6","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Automattic/mongoose/issues/3764","label":"github.com/Automattic/mongoose/issues/3764","hostname":"github.com","tags":["WEB"]},{"url":"https://gist.github.com/ChALkeR/440bc3dfcbd9b6da75c3","label":"gist.github.com/ChALkeR/440bc3dfcbd9b6da75c3","hostname":"gist.github.com","tags":["WEB"]},{"url":"https://gist.github.com/ChALkeR/d4a8055625221b6e65f0","label":"gist.github.com/ChALkeR/d4a8055625221b6e65f0","hostname":"gist.github.com","tags":["WEB"]},{"url":"https://www.npmjs.com/advisories/599","label":"www.npmjs.com/advisories/599","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-09-01T19:39:37.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2023-12-07T22:05:28.000Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:46:12.717Z","stale":false,"partial":false}}