{"id":"CVE-2019-2391","published":"2020-03-31T13:25:12Z","modified":"2024-08-04T18:49:47Z","title":"JS-bson may incorrectly serialise some requests","vendor":"MongoDB Inc.","product":"js-bson","tier":"tail","description":{"text":"Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure. This issue affects: MongoDB Inc. js-bson library version 1.1.3 and prior to.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00766,"percentile":0.56378,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/mongodb/js-bson/releases/tag/v1.1.4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":11.28},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB Inc.","product":"js-bson","versions":[">= 1.0, <= 1.1.3"]}],"affected":[{"ecosystem":"npm","package":"bson","vulnerableRanges":["<1.1.4"],"patched":["1.1.4"],"from":["GHSA-4jwp-vfvf-657p"],"provenance":"source"}],"summary":{"text":"The js-bson library from MongoDB Inc. contains a flaw in how it parses certain JSON input, which can cause it to serialise BSON incorrectly, classed as deserialization of untrusted data. An attacker who can supply the crafted JSON input over the network, with low-privileged authentication, and where no user interaction is needed, can cause unexpected application behaviour, including data disclosure; the high attack complexity means exploitation is not straightforward.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:46Z"},"euvd":{"id":"EUVD-2022-0814","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-13863","published":"2018-07-10","fixed":"1.0.5","kev":false,"link":{"from":"CVE-2018-13863","to":"CVE-2019-2391","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:bson","fromFixed":"1.0.5","toFixed":"1.1.4","daysApart":630},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same package + description similarity"}]}},{"cve":"CVE-2019-2391","published":"2020-03-31","fixed":"1.1.4","kev":false},{"cve":"CVE-2020-7610","published":"2020-03-30","fixed":"1.1.4","kev":false}],"package":"npm:bson"}}