GHSA-p84x-5xx8-hff9

Suggest an improvement
Source
https://github.com/advisories/GHSA-p84x-5xx8-hff9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p84x-5xx8-hff9/GHSA-p84x-5xx8-hff9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p84x-5xx8-hff9
Aliases
  • CVE-2019-19729
Published
2022-05-24T22:01:17Z
Modified
2023-11-08T04:01:29.349649Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
bson-objectid contains Improper input validation
Details

An issue was discovered in the BSON ObjectID (aka bson-objectid) package 1.3.0 for Node.js. ObjectID() allows an attacker to generate a malformed objectid by inserting an additional property to the user-input, because bson-objectid will return early if it detects _bsontype==ObjectID in the user-input object. As a result, objects in arbitrary forms can bypass formatting if they have a valid bsontype.

Database specific
{
    "cwe_ids": [
        "CWE-20",
        "CWE-670"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-18T21:09:18Z",
    "nvd_published_at": "2019-12-11T20:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / bson-objectid

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p84x-5xx8-hff9/GHSA-p84x-5xx8-hff9.json"