Skip to main content
← All vulnerabilities
CVE-2023-31124

AutoTools does not set CARES_RANDOM_FILE during cross compilation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

c-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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • c-ares c-ares

    fixed in 1.19.1

References 5

GitHub · c-ares/c-ares

lists.fedoraproject.org

security.gentoo.org