cve/2023/CVE-2023-31124.md

18 lines
911 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-31124](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31124)
![](https://img.shields.io/static/v1?label=Product&message=c-ares&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.19.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-330%3A%20Use%20of%20Insufficiently%20Random%20Values&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds