Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/571436?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/571436?format=api", "purl": "pkg:composer/czproject/git-php@3.7.0", "type": "composer", "namespace": "czproject", "name": "git-php", "version": "3.7.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.0.3", "latest_non_vulnerable_version": "4.0.3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43018?format=api", "vulnerability_id": "VCID-eb65-qkza-w7hc", "summary": "Command injection in czproject/git-php\nThe package czproject/git-php before 4.0.3 is vulnerable to Command Injection via git argument injection. When calling the `isRemoteUrlReadable($url, array $refs = NULL)` function, both the url and refs parameters are passed to the `git ls-remote` subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25866", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83977", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83976", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83962", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83972", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83951", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.01994", "scoring_system": "epss", "scoring_elements": "0.83974", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25866" }, { "reference_url": "https://github.com/czproject/git-php", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/czproject/git-php" }, { "reference_url": "https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733" }, { "reference_url": "https://github.com/czproject/git-php/releases/tag/v4.0.3", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/czproject/git-php/releases/tag/v4.0.3" }, { "reference_url": "https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25866", "reference_id": "CVE-2022-25866", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/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-25866" }, { "reference_url": "https://github.com/advisories/GHSA-3xpw-vhmv-cw7h", "reference_id": "GHSA-3xpw-vhmv-cw7h", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-3xpw-vhmv-cw7h" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61553?format=api", "purl": "pkg:composer/czproject/git-php@4.0.3", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/czproject/git-php@4.0.3" } ], "aliases": [ "CVE-2022-25866", "GHSA-3xpw-vhmv-cw7h" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eb65-qkza-w7hc" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/czproject/git-php@3.7.0" }