Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56679?format=api",
    "vulnerability_id": "VCID-66gp-78uh-aqem",
    "summary": "Duplicate Advisory: Nokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171\nNokogiri v1.18.3 upgrades its dependency libxml2 to\n[v2.13.6](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6).\n\nlibxml2 v2.13.6 addresses:\n\n- CVE-2025-24928\n- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/847\n- CVE-2024-56171\n- described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/828",
    "aliases": [
        {
            "alias": "GHSA-5mwf-688x-mr7x"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84149?format=api",
            "purl": "pkg:gem/nokogiri@1.18.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d13x-y75t-2ugx"
                },
                {
                    "vulnerability": "VCID-pb6j-zdqw-g7cj"
                },
                {
                    "vulnerability": "VCID-wnj6-hc4g-ykfs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.18.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sparklemotion/nokogiri"
        },
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vvfq-8hwr-qm4m",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vvfq-8hwr-qm4m"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5mwf-688x-mr7x",
            "reference_id": "GHSA-5mwf-688x-mr7x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5mwf-688x-mr7x"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-vvfq-8hwr-qm4m.yml",
            "reference_id": "GHSA-vvfq-8hwr-qm4m.yml",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-vvfq-8hwr-qm4m.yml"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1395,
            "name": "Dependency on Vulnerable Third-Party Component",
            "description": "The product has a dependency on a third-party component that contains one or more known vulnerabilities."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "0.1 - 3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-66gp-78uh-aqem"
}