Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/106831?format=api",
    "purl": "pkg:rpm/redhat/libreoffice@1:5.3.6.1-21?arch=el7",
    "type": "rpm",
    "namespace": "redhat",
    "name": "libreoffice",
    "version": "1:5.3.6.1-21",
    "qualifiers": {
        "arch": "el7"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/74700?format=api",
            "vulnerability_id": "VCID-qt46-94xf-eyaz",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00059.html"
                },
                {
                    "reference_url": "http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/152560/LibreOffice-Macro-Code-Execution.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16858.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16858.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16858",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99722",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99733",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99728",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99729",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9973",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99731",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99732",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99723",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99724",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99725",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.92343",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99726",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16858"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16858"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16858",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16858"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://seclists.org/bugtraq/2019/Aug/28",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://seclists.org/bugtraq/2019/Aug/28"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/46727/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/46727/"
                },
                {
                    "reference_url": "https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.libreoffice.org/about-us/security/advisories/cve-2018-16858/"
                },
                {
                    "reference_url": "http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.rapid7.com/db/modules/exploit/multi/fileformat/libreoffice_macro_exec"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1649841",
                    "reference_id": "1649841",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1649841"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-883",
                    "reference_id": "AVG-883",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-883"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/local/46727.rb",
                    "reference_id": "CVE-2018-16858",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/local/46727.rb"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16858",
                    "reference_id": "CVE-2018-16858",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16858"
                },
                {
                    "reference_url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb",
                    "reference_id": "CVE-2018-16858",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/fileformat/libreoffice_macro_exec.rb"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:2130",
                    "reference_id": "RHSA-2019:2130",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:2130"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3883-1/",
                    "reference_id": "USN-3883-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3883-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-16858"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qt46-94xf-eyaz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libreoffice@1:5.3.6.1-21%3Farch=el7"
}