{
  "threat_severity" : "Moderate",
  "public_date" : "2023-05-22T00:00:00Z",
  "bugzilla" : {
    "description" : "c-ares: Buffer Underwrite in ares_inet_net_pton()",
    "id" : "2209497",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2209497"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H",
    "status" : "verified"
  },
  "details" : [ "c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular \"0::00:00:00/2\" was found to cause an issue.  C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.", "A vulnerability was found in c-ares. This issue occurs in the ares_inet_net_pton() function, which is vulnerable to a buffer underflow for certain ipv6 addresses. \"0::00:00:00/2\" in particular was found to cause an issue. C-ares only uses this function internally for configuration purposes, which would require an administrator to configure such an address via ares_set_sortlist()." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-07-12T00:00:00Z",
    "advisory" : "RHSA-2023:4034",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "nodejs:16-8080020230608150024.63b34585"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-07-12T00:00:00Z",
    "advisory" : "RHSA-2023:4035",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "nodejs:18-8080020230607122508.63b34585"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-11-14T00:00:00Z",
    "advisory" : "RHSA-2023:7207",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "c-ares-0:1.13.0-9.el8_9.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2023-07-12T00:00:00Z",
    "advisory" : "RHSA-2023:4033",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.6",
    "package" : "nodejs:16-8060020230620060944.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2023-11-21T00:00:00Z",
    "advisory" : "RHSA-2023:7392",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.6",
    "package" : "c-ares-0:1.13.0-6.el8_6.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2023-11-28T00:00:00Z",
    "advisory" : "RHSA-2023:7543",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.8",
    "package" : "c-ares-0:1.13.0-6.el8_8.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-06-14T00:00:00Z",
    "advisory" : "RHSA-2023:3577",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "nodejs:18-9020020230531092345.rhel9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-06-14T00:00:00Z",
    "advisory" : "RHSA-2023:3586",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "nodejs-1:16.19.1-2.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6635",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "c-ares-0:1.19.1-1.el9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6635",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "c-ares-0:1.19.1-1.el9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Extended Update Support",
    "release_date" : "2023-07-12T00:00:00Z",
    "advisory" : "RHSA-2023:4036",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.0",
    "package" : "nodejs-1:16.18.1-4.el9_0"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2023-07-12T00:00:00Z",
    "advisory" : "RHSA-2023:4039",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-nodejs14-nodejs-0:14.21.3-4.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "c-ares",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "c-ares",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-31130\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-31130\nhttps://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v" ],
  "name" : "CVE-2023-31130",
  "csaw" : false
}