Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/203809?format=api",
    "vulnerability_id": "VCID-mnkb-wepk-qkd2",
    "summary": "Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.",
    "aliases": [
        {
            "alias": "CVE-2015-1395"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98730?format=api",
            "purl": "pkg:deb/debian/patch@2.7.3-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077387?format=api",
            "purl": "pkg:deb/debian/patch@2.7.5-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98727?format=api",
            "purl": "pkg:deb/debian/patch@2.7.6-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.7.6-7%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98729?format=api",
            "purl": "pkg:deb/debian/patch@2.8-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.8-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077379?format=api",
            "purl": "pkg:deb/debian/patch@2.5-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077380?format=api",
            "purl": "pkg:deb/debian/patch@2.5-2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5-2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077381?format=api",
            "purl": "pkg:deb/debian/patch@2.5.4-11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5.4-11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077382?format=api",
            "purl": "pkg:deb/debian/patch@2.5.9-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5.9-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077383?format=api",
            "purl": "pkg:deb/debian/patch@2.5.9-4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5.9-4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077384?format=api",
            "purl": "pkg:deb/debian/patch@2.5.9-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.5.9-5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077385?format=api",
            "purl": "pkg:deb/debian/patch@2.6-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.6-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077386?format=api",
            "purl": "pkg:deb/debian/patch@2.6.1-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6p9q-vmce-e7gx"
                },
                {
                    "vulnerability": "VCID-9417-uccf-8bf2"
                },
                {
                    "vulnerability": "VCID-babz-twua-d7fy"
                },
                {
                    "vulnerability": "VCID-h4n1-v4yw-d7a5"
                },
                {
                    "vulnerability": "VCID-m9p4-evvv-efhg"
                },
                {
                    "vulnerability": "VCID-mnkb-wepk-qkd2"
                },
                {
                    "vulnerability": "VCID-ycff-3gg5-kyh6"
                },
                {
                    "vulnerability": "VCID-zbsx-6bfg-yybz"
                },
                {
                    "vulnerability": "VCID-zmz6-3d9k-7qdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/patch@2.6.1-3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1395.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1395.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1395",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.04141",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88902",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.04141",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8894",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.04141",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88946",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1395"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1395",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1395"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1184490",
            "reference_id": "1184490",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1184490"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873",
            "reference_id": "775873",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873"
        },
        {
            "reference_url": "https://usn.ubuntu.com/2651-1/",
            "reference_id": "USN-2651-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/2651-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": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mnkb-wepk-qkd2"
}