CVE-2023-31124

Source
https://cve.org/CVERecord?id=CVE-2023-31124
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-31124.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-31124
Aliases
  • GHSA-54xr-f67r-4pc4
Downstream
Related
Published
2023-05-25T21:09:31.881Z
Modified
2026-05-15T04:04:32.101062127Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
AutoTools does not set CARES_RANDOM_FILE during cross compilation
Details

c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARESRANDOMFILE 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-330"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31124.json"
}
References

Affected packages