Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in c-ares - CVE-2023-31147

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in c-ares - CVE-2023-31147

Published: May 23, 2023 / Updated: June 21, 2023


Vulnerability identifier: #VU76426
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-31147
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
c-ares
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Oracle Solaris
Web and Scripting Module
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Workstation Extension 12
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
openSUSE Leap
openEuler
Junos OS Evolved
Fedora
envoy
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libcares2-32bit
libcares2-debuginfo-32bit
libcares-devel
libcares2-debugsource
libcares2-debuginfo
libcares2
c-ares-help
c-ares
c-ares-devel
c-ares-debuginfo
c-ares-debugsource
net-dns/c-ares
c-ares (Red Hat package)
libcares2-32bit-debuginfo
c-ares-utils-debuginfo
c-ares-utils
nodejs-nodemon
npm
rh-nodejs14-nodejs (Red Hat package)
nodejs (Red Hat package)
nodejs
nodejs-devel
nodejs-docs
nodejs-full-i18n
nodejs16-devel
nodejs16-debugsource
npm16
nodejs16-debuginfo
nodejs16
nodejs16-docs
corepack16
npm18
nodejs18-docs
nodejs18-devel
nodejs18-debuginfo
nodejs18
nodejs18-debugsource
corepack18
nodejs-packaging
nodejs-packaging-bundler
Node.js
ObjectScale
IBM Cloud Pak for Watson AIOps
EMC Cloud Tiering Appliance
Dell PowerProtect Cyber Recovery
IBM QRadar Data Synchronization App
App Connect Enterprise Certified Container
Dell EMC VxRail Appliance

Detailed vulnerability description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to usage of a rand() function in case /dev/urandom or RtlGenRandom() are unavailable. A remote attacker can perform spoofing attack.


How to mitigate CVE-2023-31147

Install updates from vendor's website.

Sources