Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84856?format=api",
    "vulnerability_id": "VCID-ph7z-4q8j-kqbf",
    "summary": "tomcat: Local privilege escalation via systemd-tmpfiles service",
    "aliases": [
        {
            "alias": "CVE-2016-5425"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/113667?format=api",
            "purl": "pkg:rpm/redhat/tomcat@7.0.54-8?arch=el7_2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7cpu-h5fr-8ffd"
                },
                {
                    "vulnerability": "VCID-c12c-fsy1-17ee"
                },
                {
                    "vulnerability": "VCID-kyb8-rvyw-s7b1"
                },
                {
                    "vulnerability": "VCID-msy8-g5w8-afbd"
                },
                {
                    "vulnerability": "VCID-ph7z-4q8j-kqbf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/tomcat@7.0.54-8%3Farch=el7_2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5425.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5425.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5425",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93594",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93604",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93613",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93614",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93623",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93626",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93631",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93632",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9365",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.11552",
                    "scoring_system": "epss",
                    "scoring_elements": "0.93656",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5425"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1362545",
            "reference_id": "1362545",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1362545"
        },
        {
            "reference_url": "http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html",
            "reference_id": "CVE-2016-5425",
            "reference_type": "exploit",
            "scores": [],
            "url": "http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/40488.txt",
            "reference_id": "CVE-2016-5425",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/40488.txt"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        }
    ],
    "exploits": [
        {
            "date_added": "2016-10-10",
            "description": "Apache Tomcat 8/7/6 (RedHat Based Distros) - Local Privilege Escalation",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": false,
            "source_date_published": "2016-10-10",
            "exploit_type": "local",
            "platform": "linux",
            "source_date_updated": "2016-10-10",
            "data_source": "Exploit-DB",
            "source_url": "http://legalhackers.com/advisories/Tomcat-RedHat-Pkgs-Root-PrivEsc-Exploit-CVE-2016-5425.html"
        },
        {
            "date_added": null,
            "description": "This module exploits a vulnerability in RedHat based systems where\n          improper file permissions are applied to /usr/lib/tmpfiles.d/tomcat.conf\n          for Apache Tomcat versions before 7.0.54-8.  This may also work against\n\n          The configuration files in tmpfiles.d are used by systemd-tmpfiles to manage\n          temporary files including their creation.\n\n          With this weak permission, we're able to inject commands into systemd-tmpfiles\n          service to write a cron job to execute our payload.\n\n          systemd-tmpfiles is executed by default on boot on RedHat-based systems\n          through systemd-tmpfiles-setup.service. Depending on the system in use,\n          the execution of systemd-tmpfiles could also be triggered by other\n          services, cronjobs, startup scripts etc.\n\n          This module was tested against Tomcat 7.0.54-3 on Fedora 21.",
            "required_action": null,
            "due_date": null,
            "notes": "Stability:\n  - crash-safe\nReliability:\n  - repeatable-session\nSideEffects:\n  - artifacts-on-disk\n  - config-changes\n  - ioc-in-logs\n",
            "known_ransomware_campaign_use": false,
            "source_date_published": "2016-10-10",
            "exploit_type": null,
            "platform": "Linux",
            "source_date_updated": null,
            "data_source": "Metasploit",
            "source_url": "https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/linux/local/tomcat_rhel_based_temp_priv_esc.rb"
        }
    ],
    "severity_range_score": "7.0 - 7.0",
    "exploitability": "2.0",
    "weighted_severity": "6.3",
    "risk_score": 10.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ph7z-4q8j-kqbf"
}