Lookup for vulnerable packages by Package URL.

GET /api/packages/352483?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/352483?format=api",
    "purl": "pkg:gem/rugged@0.28.4",
    "type": "gem",
    "namespace": "",
    "name": "rugged",
    "version": "0.28.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.4.5",
    "latest_non_vulnerable_version": "1.5.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16128?format=api",
            "vulnerability_id": "VCID-t2ph-v249-a7g9",
            "summary": "Improper Verification of Cryptographic Signature\nlibgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks` structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-22742.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-22742.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-22742",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31147",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.30998",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31194",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31014",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31069",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31099",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31106",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31062",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31017",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31049",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00121",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3103",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-22742"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22742",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22742"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56"
                },
                {
                    "reference_url": "https://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58ea",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58ea"
                },
                {
                    "reference_url": "https://github.com/libgit2/libgit2/releases/tag/v1.4.5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://github.com/libgit2/libgit2/releases/tag/v1.4.5"
                },
                {
                    "reference_url": "https://github.com/libgit2/libgit2/releases/tag/v1.5.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://github.com/libgit2/libgit2/releases/tag/v1.5.1"
                },
                {
                    "reference_url": "https://www.libssh2.org",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://www.libssh2.org"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029368",
                    "reference_id": "1029368",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029368"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2163614",
                    "reference_id": "2163614",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2163614"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2023/11/06/5",
                    "reference_id": "5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2023/11/06/5"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22742",
                    "reference_id": "CVE-2023-22742",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22742"
                },
                {
                    "reference_url": "https://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq",
                    "reference_id": "GHSA-8643-3wh5-rmjq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-10T20:59:36Z/"
                        }
                    ],
                    "url": "https://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202411-05",
                    "reference_id": "GLSA-202411-05",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202411-05"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6678-1/",
                    "reference_id": "USN-6678-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6678-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55483?format=api",
                    "purl": "pkg:gem/rugged@1.4.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rugged@1.4.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55484?format=api",
                    "purl": "pkg:gem/rugged@1.5.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rugged@1.5.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-22742",
                "GHSA-8643-3wh5-rmjq"
            ],
            "risk_score": 2.4,
            "exploitability": "0.5",
            "weighted_severity": "4.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t2ph-v249-a7g9"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82079?format=api",
            "vulnerability_id": "VCID-52tu-vs8k-fbfe",
            "summary": "libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12278.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12278.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90663",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90667",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90677",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90686",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90697",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90703",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90712",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90709",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90728",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90725",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.06011",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90723",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12278"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12278",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12278"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829397",
                    "reference_id": "1829397",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829397"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278",
                    "reference_id": "CVE-2020-12278",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6678-1/",
                    "reference_id": "USN-6678-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6678-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/352483?format=api",
                    "purl": "pkg:gem/rugged@0.28.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-t2ph-v249-a7g9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rugged@0.28.4"
                }
            ],
            "aliases": [
                "CVE-2020-12278",
                "GHSA-5wph-8frv-58vj"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-52tu-vs8k-fbfe"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82080?format=api",
            "vulnerability_id": "VCID-tmtv-wcxy-sqht",
            "summary": "libgit2: NTFS protections inactive when running Git in the Windows Subsystem for Linux",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12279.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-12279.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12279",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89855",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89858",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89871",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89877",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89893",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89898",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89905",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89903",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89896",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8991",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.05164",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89911",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12279"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12279",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12279"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829407",
                    "reference_id": "1829407",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829407"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12279",
                    "reference_id": "CVE-2020-12279",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12279"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6678-1/",
                    "reference_id": "USN-6678-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6678-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/352483?format=api",
                    "purl": "pkg:gem/rugged@0.28.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-t2ph-v249-a7g9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rugged@0.28.4"
                }
            ],
            "aliases": [
                "CVE-2020-12279",
                "GHSA-589j-mmg9-733v"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tmtv-wcxy-sqht"
        }
    ],
    "risk_score": "2.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rugged@0.28.4"
}