{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/oraclelinux7els/vex/2023/cve-2023-31147-els_os-oraclelinux7els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-20T08:48:55Z",
      "generator": {
        "date": "2026-04-20T08:48:55Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2023-31147-ELS_OS-ORACLELINUX7ELS",
      "initial_release_date": "2023-05-25T22:15:00Z",
      "revision_history": [
        {
          "date": "2023-05-25T22:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-04-20T08:48:55Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2023-31147"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Oracle Linux 7",
                "product": {
                  "name": "Oracle Linux 7",
                  "product_id": "Oracle-Linux-7",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Oracle Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "c-ares-0:1.10.0-3.el7_9.1.x86_64",
                "product": {
                  "name": "c-ares-0:1.10.0-3.el7_9.1.x86_64",
                  "product_id": "c-ares-0:1.10.0-3.el7_9.1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/oracle/c-ares@1.10.0-3.el7_9.1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "c-ares-devel-0:1.10.0-3.el7_9.1.x86_64",
                "product": {
                  "name": "c-ares-devel-0:1.10.0-3.el7_9.1.x86_64",
                  "product_id": "c-ares-devel-0:1.10.0-3.el7_9.1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/oracle/c-ares-devel@1.10.0-3.el7_9.1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "c-ares-0:1.10.0-3.el7_9.1.i686",
                "product": {
                  "name": "c-ares-0:1.10.0-3.el7_9.1.i686",
                  "product_id": "c-ares-0:1.10.0-3.el7_9.1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/oracle/c-ares@1.10.0-3.el7_9.1?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "c-ares-devel-0:1.10.0-3.el7_9.1.i686",
                "product": {
                  "name": "c-ares-devel-0:1.10.0-3.el7_9.1.i686",
                  "product_id": "c-ares-devel-0:1.10.0-3.el7_9.1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/oracle/c-ares-devel@1.10.0-3.el7_9.1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "Oracle Corporation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                "product": {
                  "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                  "product_id": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/c-ares@1.10.0-3.el7_9.1.tuxcare.els2?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                "product": {
                  "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                  "product_id": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/c-ares-devel@1.10.0-3.el7_9.1.tuxcare.els2?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                "product": {
                  "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                  "product_id": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/c-ares@1.10.0-3.el7_9.1.tuxcare.els2?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                "product": {
                  "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                  "product_id": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/c-ares-devel@1.10.0-3.el7_9.1.tuxcare.els2?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64"
        },
        "product_reference": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-0:1.10.0-3.el7_9.1.x86_64 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.x86_64"
        },
        "product_reference": "c-ares-0:1.10.0-3.el7_9.1.x86_64",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686"
        },
        "product_reference": "c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-0:1.10.0-3.el7_9.1.i686 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.i686"
        },
        "product_reference": "c-ares-0:1.10.0-3.el7_9.1.i686",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686"
        },
        "product_reference": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-devel-0:1.10.0-3.el7_9.1.i686 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.i686"
        },
        "product_reference": "c-ares-devel-0:1.10.0-3.el7_9.1.i686",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64"
        },
        "product_reference": "c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "c-ares-devel-0:1.10.0-3.el7_9.1.x86_64 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.x86_64"
        },
        "product_reference": "c-ares-devel-0:1.10.0-3.el7_9.1.x86_64",
        "relates_to_product_reference": "Oracle-Linux-7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-31147",
      "cwe": {
        "id": "CWE-330",
        "name": "Use of Insufficiently Random Values"
      },
      "notes": [
        {
          "category": "description",
          "text": "c-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.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.i686",
          "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
          "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
          "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.x86_64",
          "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.i686",
          "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
          "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
          "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2023-31147"
        },
        {
          "category": "external",
          "summary": "https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1",
          "url": "https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1"
        },
        {
          "category": "external",
          "summary": "https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2",
          "url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/"
        },
        {
          "category": "external",
          "summary": "https://security.gentoo.org/glsa/202310-09",
          "url": "https://security.gentoo.org/glsa/202310-09"
        }
      ],
      "release_date": "2023-05-25T22:15:00Z",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "This issue only manifests when c-ares cannot use the OS CSPRNG (/dev/urandom on Linux or RtlGenRandom on Windows) and falls back to rand(); on standard enterprise Linux/Windows server and VM builds, those CSPRNGs are present by default, so the vulnerable path is not exercised. Even if triggered, it only reduces DNS query‑ID entropy (no code execution) and still requires an off‑path spoofing race plus guessing the randomized UDP source port, yielding at most limited confidentiality/integrity impact—making it a low‑priority concern in typical server deployments.",
          "product_ids": [
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.i686",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.x86_64",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.i686",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.i686",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
            "Oracle-Linux-7:c-ares-0:1.10.0-3.el7_9.1.x86_64",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.i686",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.i686",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.tuxcare.els2.x86_64",
            "Oracle-Linux-7:c-ares-devel-0:1.10.0-3.el7_9.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}