PT-2023-8917

CVE-2023-31124

·

Published

2023-05-22

·

Updated

2024-06-15

Description by

CVSS 3.1
8.6
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Name of the Vulnerable Software and Affected Versions c-ares versions prior to 1.19.1
Description The issue is related to the use of rand() as a fallback when CARES RANDOM FILE is not set, which can allow an attacker to exploit the lack of entropy by not using a Cryptographically Secure Pseudorandom Number Generator (CSPRNG). This can potentially impact the integrity of protected information. The issue is specifically observed when cross-compiling c-ares for aarch64 android using the autotools build system.
Recommendations For versions prior to 1.19.1, update to version 1.19.1 or later to resolve the issue. As a temporary workaround, consider disabling the use of rand() as a fallback until a patch is available. Restrict access to sensitive information to minimize the risk of exploitation. Avoid using the CARES RANDOM FILE fallback in the affected API endpoints until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-54XR-F67R-4PC4
ALSA-2023:3577
ALSA-2023:3586
ALSA-2023:4034
ALSA-2023:4035
ALSA-2023:6635
ALT-PU-2023-4134
ALT-PU-2023-4623
ALT-PU-2023-5121
CESA-2023_4034
CESA-2023_4035
ECHO-8D69-487F-CAC3
OPENSUSE-SU-2024:12951-1
RHSA-2023:3577
RHSA-2023_3577
RHSA-2023:3586
RHSA-2023_3586
RHSA-2023:4033
RHSA-2023:4034
RHSA-2023_4034
RHSA-2023:4035
RHSA-2023_4035
RHSA-2023:4036
RHSA-2023:4039
RHSA-2023:6635
RHSA-2023_6635
RLSA-2023:3577
RLSA-2023:4034
RLSA-2023:4035
SUSE-SU-2023:2313-1
SUSE-SU-2023_2313-1
SUSE-SU-2023:2477-1
SUSE-SU-2023_2477-1
SUSE-SU-2023:2655-1
SUSE-SU-2023:2662-1
SUSE-SU-2023:2663-1
SUSE-SU-2023:2669-1
SUSE-SU-2023:2861-1
Found an issue in the description? Have something to add? Feel free to write us 👾