Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17727?format=api",
    "vulnerability_id": "VCID-h5yg-sx9b-ska5",
    "summary": "Use of Insufficiently Random Values\nc-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.",
    "aliases": [
        {
            "alias": "CVE-2023-31147"
        },
        {
            "alias": "GHSA-8r8p-23f3-64c2"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/921604?format=api",
            "purl": "pkg:deb/debian/c-ares@1.19.1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.19.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584726?format=api",
            "purl": "pkg:deb/debian/c-ares@1.34.5-1%2Bdeb13u1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.34.5-1%252Bdeb13u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583134?format=api",
            "purl": "pkg:deb/debian/c-ares@1.34.5-1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.34.5-1%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583135?format=api",
            "purl": "pkg:deb/debian/c-ares@1.34.6-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.34.6-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76215?format=api",
            "purl": "pkg:ebuild/net-dns/c-ares@1.19.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-dns/c-ares@1.19.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584724?format=api",
            "purl": "pkg:deb/debian/c-ares@1.17.1-1%2Bdeb11u3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hy7-94d4-kyev"
                },
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.17.1-1%252Bdeb11u3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583131?format=api",
            "purl": "pkg:deb/debian/c-ares@1.17.1-1%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hy7-94d4-kyev"
                },
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.17.1-1%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583132?format=api",
            "purl": "pkg:deb/debian/c-ares@1.18.1-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hy7-94d4-kyev"
                },
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.18.1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584725?format=api",
            "purl": "pkg:deb/debian/c-ares@1.18.1-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hy7-94d4-kyev"
                },
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/c-ares@1.18.1-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96061?format=api",
            "purl": "pkg:rpm/redhat/c-ares@1.19.1-1?arch=el9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-5vh6-usw6-2qhy"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                },
                {
                    "vulnerability": "VCID-vezx-cgbw-zqdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/c-ares@1.19.1-1%3Farch=el9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96059?format=api",
            "purl": "pkg:rpm/redhat/nodejs@1:16.18.1-4?arch=el9_0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                },
                {
                    "vulnerability": "VCID-pavw-rssx-53cg"
                },
                {
                    "vulnerability": "VCID-vezx-cgbw-zqdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/nodejs@1:16.18.1-4%3Farch=el9_0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96062?format=api",
            "purl": "pkg:rpm/redhat/nodejs@1:16.19.1-2?arch=el9_2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                },
                {
                    "vulnerability": "VCID-pavw-rssx-53cg"
                },
                {
                    "vulnerability": "VCID-vezx-cgbw-zqdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/nodejs@1:16.19.1-2%3Farch=el9_2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96060?format=api",
            "purl": "pkg:rpm/redhat/rh-nodejs14-nodejs@14.21.3-4?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3nsu-sz9r-pkbf"
                },
                {
                    "vulnerability": "VCID-h5yg-sx9b-ska5"
                },
                {
                    "vulnerability": "VCID-pavw-rssx-53cg"
                },
                {
                    "vulnerability": "VCID-vezx-cgbw-zqdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-nodejs14-nodejs@14.21.3-4%3Farch=el7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-31147.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-31147.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-31147",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26124",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25964",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26165",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25934",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26002",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26053",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26063",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26017",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25958",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-31147"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31147",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31147"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-16T18:25:39Z/"
                }
            ],
            "url": "https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-16T18:25:39Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-16T18:25:39Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209501",
            "reference_id": "2209501",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209501"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31147",
            "reference_id": "CVE-2023-31147",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31147"
        },
        {
            "reference_url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2",
            "reference_id": "GHSA-8r8p-23f3-64c2",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-16T18:25:39Z/"
                }
            ],
            "url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202310-09",
            "reference_id": "GLSA-202310-09",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-16T18:25:39Z/"
                }
            ],
            "url": "https://security.gentoo.org/glsa/202310-09"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:3577",
            "reference_id": "RHSA-2023:3577",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:3577"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:3586",
            "reference_id": "RHSA-2023:3586",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:3586"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:4033",
            "reference_id": "RHSA-2023:4033",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:4033"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:4034",
            "reference_id": "RHSA-2023:4034",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:4034"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:4035",
            "reference_id": "RHSA-2023:4035",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:4035"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:4036",
            "reference_id": "RHSA-2023:4036",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:4036"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:4039",
            "reference_id": "RHSA-2023:4039",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:4039"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:6635",
            "reference_id": "RHSA-2023:6635",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:6635"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 330,
            "name": "Use of Insufficiently Random Values",
            "description": "The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.9 - 5.9",
    "exploitability": "0.5",
    "weighted_severity": "5.3",
    "risk_score": 2.6,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h5yg-sx9b-ska5"
}