CVE-2023-31124 AutoTools does not set CARES_RANDOM_FILE during cross compilation
LowCVSS 3.7
EPSS 0.94%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
6 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/c-ares(Debian 12) | = 1.18.1-3; = 1.19.0-1; = 1.19.1-1; = 1.19.1-2 +37 more | No fix listed | No fix yet |
| c-ares project c-ares | < 1.19.1 | 1.19.1 | Fixed |
| debian/c-ares(Debian 13) | < 1.19.1-2 | 1.19.1-2 | Fixed |
| debian/c-ares(Debian 14) | < 1.19.1-2 | 1.19.1-2 | Fixed |
| c-ares | = < 1.19.1 | No fix listed | Versions listed |
| fedoraproject fedora | = 37; = 38 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/c-ares(Debian:12) | All versions | No fix listed |
| debian/c-ares(Debian:12) | = 1.18.1-3 | No fix listed |
| debian/c-ares(Debian:12) | = 1.19.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.19.1-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.19.1-2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.19.1-3 | No fix listed |
| debian/c-ares(Debian:12) | = 1.20.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.20.0-2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.20.0-3 | No fix listed |
| debian/c-ares(Debian:12) | = 1.20.1-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.21.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.22.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.22.1-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.23.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.24.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.25.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.26.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.26.0-1.1~exp1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.27.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.27.0-1.1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.27.0-1.1~exp1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.27.0-1.2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.28.1-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.29.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.30.0-1 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/c-ares(Debian:12) | = 1.31.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.32.2-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.32.2-2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.32.3-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.33.0-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.33.1-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.33.1-2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.2-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.3-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.4-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.4-2 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.4-2.1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.5-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.6-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.7-1 | No fix listed |
| debian/c-ares(Debian:12) | = 1.34.8-1 | No fix listed |
| debian/c-ares(Debian:13) | < 1.19.1-2 | 1.19.1-2 |
| debian/c-ares(Debian:14) | < 1.19.1-2 | 1.19.1-2 |
| c-ares | = < 1.19.1 | No fix listed |
| c-ares project c-ares | < 1.19.1 | 1.19.1 |
| fedoraproject fedora | = 37 | No fix listed |
| fedoraproject fedora | = 38 | No fix listed |
References
- Debian Security Tracker CVE-2023-31124 vendor-advisory
- https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4 third-party-advisory
- https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1 third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- security.gentoo.org third-party-advisory