Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/175154?format=api",
    "vulnerability_id": "VCID-ccw7-5c23-bfcp",
    "summary": "A flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems.",
    "aliases": [
        {
            "alias": "CVE-2022-3715"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25036?format=api",
            "purl": "pkg:deb/debian/bash@5.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1079130?format=api",
            "purl": "pkg:deb/debian/bash@5.2.15-2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.2.15-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25010?format=api",
            "purl": "pkg:deb/debian/bash@5.2.15-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.2.15-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25015?format=api",
            "purl": "pkg:deb/debian/bash@5.2.37-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.2.37-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25014?format=api",
            "purl": "pkg:deb/debian/bash@5.3-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.3-3%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1079129?format=api",
            "purl": "pkg:deb/debian/bash@5.1-2%2Bdeb11u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ccw7-5c23-bfcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.1-2%252Bdeb11u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/25013?format=api",
            "purl": "pkg:deb/debian/bash@5.1-2%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ccw7-5c23-bfcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.1-2%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/339018?format=api",
            "purl": "pkg:rpm/redhat/bash@5.1.8-6?arch=el9_1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ccw7-5c23-bfcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/bash@5.1.8-6%3Farch=el9_1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3715.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3715.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3715",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00039",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12255",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00039",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12349",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00039",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12354",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00045",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1425",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3715"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3715",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3715"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030355",
            "reference_id": "1030355",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030355"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:0340",
            "reference_id": "RHSA-2023:0340",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:0340"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2126720",
            "reference_id": "show_bug.cgi?id=2126720",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-10T14:57:24Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2126720"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6697-1/",
            "reference_id": "USN-6697-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6697-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        },
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.6 - 7.8",
    "exploitability": "0.5",
    "weighted_severity": "7.0",
    "risk_score": 3.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ccw7-5c23-bfcp"
}