Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77863?format=api",
    "vulnerability_id": "VCID-cguy-5d2j-6yed",
    "summary": "cpio: path traversal vulnerability",
    "aliases": [
        {
            "alias": "CVE-2023-7207"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/921936?format=api",
            "purl": "pkg:deb/debian/cpio@2.14%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.14%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/586853?format=api",
            "purl": "pkg:deb/debian/cpio@2.15%2Bdfsg-2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.15%252Bdfsg-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583612?format=api",
            "purl": "pkg:deb/debian/cpio@2.15%2Bdfsg-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.15%252Bdfsg-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583613?format=api",
            "purl": "pkg:deb/debian/cpio@2.15%2Bdfsg-2.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.15%252Bdfsg-2.1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583610?format=api",
            "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1~deb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cguy-5d2j-6yed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1~deb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/586851?format=api",
            "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1~deb11u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cguy-5d2j-6yed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1~deb11u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/586852?format=api",
            "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cguy-5d2j-6yed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583611?format=api",
            "purl": "pkg:deb/debian/cpio@2.13%2Bdfsg-7.1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cguy-5d2j-6yed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cpio@2.13%252Bdfsg-7.1%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-7207.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-7207.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-7207",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19139",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18717",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1904",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19048",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19001",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18949",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18903",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18916",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18927",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18818",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18797",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18753",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18633",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19191",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18907",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18986",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-7207"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-7207",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-05-07T20:19:09Z/"
                }
            ],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-7207"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2024/01/05/1",
            "reference_id": "1",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-05-07T20:19:09Z/"
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2024/01/05/1"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059163",
            "reference_id": "1059163",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-05-07T20:19:09Z/"
                }
            ],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059163"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2266856",
            "reference_id": "2266856",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2266856"
        },
        {
            "reference_url": "https://www.openwall.com/lists/oss-security/2023/12/21/8",
            "reference_id": "8",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-05-07T20:19:09Z/"
                }
            ],
            "url": "https://www.openwall.com/lists/oss-security/2023/12/21/8"
        },
        {
            "reference_url": "https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=376d663340a9dc91c91a5849e5713f07571c1628",
            "reference_id": "?id=376d663340a9dc91c91a5849e5713f07571c1628",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/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-05-07T20:19:09Z/"
                }
            ],
            "url": "https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=376d663340a9dc91c91a5849e5713f07571c1628"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6755-1/",
            "reference_id": "USN-6755-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6755-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 5.5",
    "exploitability": "0.5",
    "weighted_severity": "5.0",
    "risk_score": 2.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cguy-5d2j-6yed"
}