Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7196?format=api",
    "vulnerability_id": "VCID-mxdb-ssyw-zqg5",
    "summary": "directory traversal",
    "aliases": [
        {
            "alias": "CVE-2021-40153"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3566?format=api",
            "purl": "pkg:alpm/archlinux/squashfs-tools@4.5-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/squashfs-tools@4.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129550?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.4-2%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.4-2%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129544?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.4-2%2Bdeb11u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.4-2%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129542?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.5.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.5.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129549?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.5-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.5-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129546?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.6.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.6.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129545?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.7.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.7.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5368?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.3-12%2Bdeb10u2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.3-12%252Bdeb10u2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3841?format=api",
            "purl": "pkg:alpm/archlinux/squashfs-tools@4.4_git.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/squashfs-tools@4.4_git.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5364?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.0-8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.0-8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5365?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.2-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.2-5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5366?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.2%2B20130409-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.2%252B20130409-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5367?format=api",
            "purl": "pkg:deb/debian/squashfs-tools@1:4.3-3%2Bdeb9u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/squashfs-tools@1:4.3-3%252Bdeb9u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/136084?format=api",
            "purl": "pkg:rpm/redhat/squashfs-tools@4.3-21?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/squashfs-tools@4.3-21%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/136082?format=api",
            "purl": "pkg:rpm/redhat/squashfs-tools@4.4-10.git1?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mxdb-ssyw-zqg5"
                },
                {
                    "vulnerability": "VCID-y5cg-5m54-afew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/squashfs-tools@4.4-10.git1%3Farch=el9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40153.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40153.json"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40153",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40153"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1998621",
            "reference_id": "1998621",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1998621"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2328",
            "reference_id": "AVG-2328",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2328"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:2396",
            "reference_id": "RHSA-2024:2396",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:2396"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:3139",
            "reference_id": "RHSA-2024:3139",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:3139"
        }
    ],
    "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 - 8.1",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mxdb-ssyw-zqg5"
}