Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/29520?format=api",
    "vulnerability_id": "VCID-8qd2-k69j-nfhf",
    "summary": "Out-of-bounds Read in Ruby JSON Parser\n### Impact\n\nA specially crafted document could cause an out of bound read, most likely resulting in a crash.\n\nVersions 2.10.0 and 2.10.1 are impacted. Older versions are not.\n\n### Patches\n\nVersion 2.10.2 fixes the problem.\n\n### Workarounds\n\nNone.",
    "aliases": [
        {
            "alias": "CVE-2025-27788"
        },
        {
            "alias": "GHSA-9m3q-rhmv-5q44"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/938207?format=api",
            "purl": "pkg:deb/debian/ruby-json@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/938204?format=api",
            "purl": "pkg:deb/debian/ruby-json@2.3.0%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@2.3.0%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/938202?format=api",
            "purl": "pkg:deb/debian/ruby-json@2.6.3%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@2.6.3%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/938206?format=api",
            "purl": "pkg:deb/debian/ruby-json@2.9.1%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@2.9.1%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/938205?format=api",
            "purl": "pkg:deb/debian/ruby-json@2.19.2%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@2.19.2%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1077490?format=api",
            "purl": "pkg:deb/debian/ruby-json@2.19.4%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-json@2.19.4%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/70290?format=api",
            "purl": "pkg:gem/json@2.10.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xghz-9k48-bqej"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/json@2.10.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130822?format=api",
            "purl": "pkg:gem/json@2.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8qd2-k69j-nfhf"
                },
                {
                    "vulnerability": "VCID-xghz-9k48-bqej"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/json@2.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/141838?format=api",
            "purl": "pkg:gem/json@2.10.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8qd2-k69j-nfhf"
                },
                {
                    "vulnerability": "VCID-xghz-9k48-bqej"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/json@2.10.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-27788.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-27788.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-27788",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28002",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27731",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27807",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27918",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36799",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36732",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36845",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3677",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36747",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36824",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58961",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58909",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58967",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58987",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58921",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58983",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5895",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58968",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58943",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58986",
                    "published_at": "2026-04-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-27788"
        },
        {
            "reference_url": "https://github.com/ruby/json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ruby/json"
        },
        {
            "reference_url": "https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-12T14:04:18Z/"
                }
            ],
            "url": "https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf"
        },
        {
            "reference_url": "https://github.com/ruby/json/releases/tag/v2.10.2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-12T14:04:18Z/"
                }
            ],
            "url": "https://github.com/ruby/json/releases/tag/v2.10.2"
        },
        {
            "reference_url": "https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-12T14:04:18Z/"
                }
            ],
            "url": "https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27788",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27788"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2351856",
            "reference_id": "2351856",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2351856"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9m3q-rhmv-5q44",
            "reference_id": "GHSA-9m3q-rhmv-5q44",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9m3q-rhmv-5q44"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended buffer."
        },
        {
            "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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8qd2-k69j-nfhf"
}