Live threats

All CVEs / Bson-objectid Project

CVE-2019-19729Bson-objectid Project Bson-objectid

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Dec 11, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-670
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bson-objectid.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm bson-objectid ≤ 1.3.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-p84x-5xx8-hff9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bson-objectid_projectbson-objectid1.3.0

Official sources

References

Links published by the sources. Open them with care.