Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/616482?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/616482?format=api", "purl": "pkg:nuget/MongoDB.Driver@2.2.2", "type": "nuget", "namespace": "", "name": "MongoDB.Driver", "version": "2.2.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.19.0", "latest_non_vulnerable_version": "2.19.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/171970?format=api", "vulnerability_id": "VCID-p2rj-sbjh-jyav", "summary": "Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0\n\nFollowing configuration must be true for the vulnerability to be applicable: * Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\n * Application must be running on a Windows host using the full .NET Framework, not .NET Core AND\n * Application must have domain model class with a property/field explicitly of type System.Object or a collection of type System.Object (against MongoDB best practice) AND\n * Malicious attacker must have unrestricted insert access to target database to add a _t discriminator.\"Following configuration must be true for the vulnerability to be applicable", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-48282", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01339", "scoring_system": "epss", "scoring_elements": "0.80481", "published_at": "2026-06-12T12:55:00Z" }, { "value": "0.01339", "scoring_system": "epss", "scoring_elements": "0.80484", "published_at": "2026-06-14T12:55:00Z" }, { "value": "0.01339", "scoring_system": "epss", "scoring_elements": "0.80492", "published_at": "2026-06-13T12:55:00Z" }, { "value": "0.01339", "scoring_system": "epss", "scoring_elements": "0.8042", "published_at": "2026-06-11T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-48282" }, { "reference_url": "https://github.com/mongodb/mongo-csharp-driver", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/mongodb/mongo-csharp-driver" }, { "reference_url": "https://jira.mongodb.org/CSHARP-4475", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://jira.mongodb.org/CSHARP-4475" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-48282", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-48282" }, { "reference_url": "https://jira.mongodb.org/browse/CSHARP-4475", "reference_id": "CSHARP-4475", "reference_type": "", "scores": [ { "value": "6.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "7.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-11T19:19:47Z/" } ], "url": "https://jira.mongodb.org/browse/CSHARP-4475" }, { "reference_url": "https://github.com/advisories/GHSA-7j9m-j397-g4wx", "reference_id": "GHSA-7j9m-j397-g4wx", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-7j9m-j397-g4wx" }, { "reference_url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0", "reference_id": "v2.19.0", "reference_type": "", "scores": [ { "value": "6.6", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "7.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-03-11T19:19:47Z/" } ], "url": "https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/380414?format=api", "purl": "pkg:nuget/MongoDB.Driver@2.19.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/MongoDB.Driver@2.19.0" } ], "aliases": [ "CVE-2022-48282", "GHSA-7j9m-j397-g4wx" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p2rj-sbjh-jyav" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/MongoDB.Driver@2.2.2" }