GHSA-4jwp-vfvf-657p

Suggest an improvement
Source
https://github.com/advisories/GHSA-4jwp-vfvf-657p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-4jwp-vfvf-657p/GHSA-4jwp-vfvf-657p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4jwp-vfvf-657p
Aliases
Published
2022-02-10T23:30:20Z
Modified
2023-11-08T04:01:31.793786Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Deserialization of Untrusted Data in bson
Details

Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure.

Database specific
{
    "nvd_published_at": "2020-03-31T14:15:00Z",
    "github_reviewed_at": "2021-05-07T17:19:18Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

npm / bson

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.4