Vulnerability · Published Dec 4, 2024 · Assigned by mitre

CVE-2024-54661

Critical 9.8

In plain English

A critical-severity security flaw in socat from dest-unreach. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.8%top 43.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8socat1.7.4.1-2.el8_10ALSA-2025:11042
AlmaLinux:9socat1.7.4.1-6.el9_6.1ALSA-2025:10353
Alpine:v3.21socat0ALPINE-CVE-2024-54661
Alpine:v3.22socat0ALPINE-CVE-2024-54661
Alpine:v3.23socat0ALPINE-CVE-2024-54661
Alpine:v3.24socat0ALPINE-CVE-2024-54661
Debian:12socatno fix listedDEBIAN-CVE-2024-54661
Debian:13socat1.8.0.2-1DEBIAN-CVE-2024-54661
Debian:14socat1.8.0.2-1DEBIAN-CVE-2024-54661
Rocky Linux:8socat0:1.7.4.1-2.el8_10RLSA-2025:11042
Rocky Linux:9socat0:1.7.4.1-6.el9_6.1RLSA-2025:10353
Ubuntu:22.04:LTSsocatno fix listedUBUNTU-CVE-2024-54661
Ubuntu:24.04:LTSsocat1.8.0.0-4ubuntu0.1UBUNTU-CVE-2024-54661
Ubuntu:24.04:LTSsocat1.8.0.0-4ubuntu0.1USN-8511-1
Ubuntu:26.04:LTSsocat1.8.1.1-1ubuntu0.1USN-8511-1

Affected products (as reported)

VendorProductVersions
dest-unreach socat 1.6.0.0 – before 1.8.0.22.0.0-b1 – through 2.0.0-b9

Weakness: CWE-61 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References