Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39975?format=api",
    "vulnerability_id": "VCID-shuq-ufcc-ruf5",
    "summary": "A TOCTOU race has been discovered in Shadow, which could result in the unauthorized modification of files.",
    "aliases": [
        {
            "alias": "CVE-2013-4235"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939314?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.12.3%2Bdfsg1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.12.3%252Bdfsg1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939301?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.13%2Bdfsg1-1%2Bdeb12u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.13%252Bdfsg1-1%252Bdeb12u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/995101?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.13%2Bdfsg1-1%2Bdeb12u2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.13%252Bdfsg1-1%252Bdeb12u2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939306?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.17.4-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.17.4-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939304?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.19.3-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.19.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939305?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.19.3-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.19.3-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75489?format=api",
            "purl": "pkg:ebuild/sys-apps/shadow@4.12.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/sys-apps/shadow@4.12.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939303?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.8.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-shuq-ufcc-ruf5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.8.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/995100?format=api",
            "purl": "pkg:deb/debian/shadow@1:4.8.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bcx3-q456-w7ad"
                },
                {
                    "vulnerability": "VCID-m3za-mkkw-p7e2"
                },
                {
                    "vulnerability": "VCID-shuq-ufcc-ruf5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/shadow@1:4.8.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4235.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4235.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4235",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18107",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18163",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18317",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18019",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18102",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00058",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18264",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18391",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18526",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18478",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18427",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18371",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18115",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18204",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18304",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18269",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00059",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18297",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18864",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18876",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18765",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18746",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18702",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4235"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4235",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4235"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778950",
            "reference_id": "778950",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778950"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=884658",
            "reference_id": "884658",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=884658"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202210-26",
            "reference_id": "GLSA-202210-26",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202210-26"
        },
        {
            "reference_url": "https://usn.ubuntu.com/5745-1/",
            "reference_id": "USN-5745-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/5745-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 367,
            "name": "Time-of-check Time-of-use (TOCTOU) Race Condition",
            "description": "The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.4 - 6.7",
    "exploitability": "0.5",
    "weighted_severity": "4.0",
    "risk_score": 2.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-shuq-ufcc-ruf5"
}