Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17722?format=api",
    "vulnerability_id": "VCID-3nsu-sz9r-pkbf",
    "summary": "Use of Insufficiently Random Values\nc-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG. This issue was patched in version 1.19.1.",
    "aliases": [
        {
            "alias": "CVE-2023-31124"
        },
        {
            "alias": "GHSA-54xr-f67r-4pc4"
        }
    ],
    "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/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/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/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-31124.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-31124.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-31124",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22622",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2252",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22664",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22454",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22536",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2259",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22605",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22565",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22511",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22524",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-31124"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31124",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31124"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:36:12Z/"
                }
            ],
            "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": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:36:12Z/"
                }
            ],
            "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": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:36:12Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209494",
            "reference_id": "2209494",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209494"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31124",
            "reference_id": "CVE-2023-31124",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31124"
        },
        {
            "reference_url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4",
            "reference_id": "GHSA-54xr-f67r-4pc4",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:36:12Z/"
                }
            ],
            "url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202310-09",
            "reference_id": "GLSA-202310-09",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:36:12Z/"
                }
            ],
            "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": "3.7 - 3.7",
    "exploitability": "0.5",
    "weighted_severity": "3.3",
    "risk_score": 1.6,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3nsu-sz9r-pkbf"
}