Skip to content
Fencer Intel
critical 9.8

CVE-2024-54661 json

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

published last yr. modified 4mo ago also EUVD-2024-52644

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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

Patch / fix

  • dest-unreach socat 1.8.0.2
  • socat Debian 14, Debian 13 1.8.0.2-1

debian advisories DEBIAN-CVE-2024-54661

  • socat Ubuntu 24.04 LTS 1.8.0.0-4ubuntu0.1

ubuntu advisories UBUNTU-CVE-2024-54661

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • socat RHEL 8 1.7.4.1-2.el8_10
  • socat RHEL 9 1.7.4.1-6.el9_6.1
  • socat RHEL 9.4 EUS 1.7.4.1-5.el9_4.3
  • socat RHEL 9.2 E4S 1.7.4.1-5.el9_2.2

red hat advisories RHSA-2025:11042RHSA-2025:10646RHSA-2025:10544RHSA-2025:10353

  • socat SLE Micro 5.2 1.7.3.2-150000.6.3.1
  • socat SLE Module for Basesystem 15 SP5, SLE Micro 5.5, SLE Micro 5.4 +3 more 1.8.0.0-150400.14.6.1
  • socat SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.8.0.0-150600.20.6.1
  • socat SLES LTSS Extended Security 12 SP5 1.7.2.4-4.3.1

suse advisories SUSE-SU-2024:4348-1SUSE-SU-2024:4302-1SUSE-SU-2024:4295-1SUSE-SU-2024:4294-1

  • socat openSUSE Tumbleweed 1.8.0.2-1.1

opensuse advisories openSUSE-SU-2024:14582-1

  • socat AlmaLinux 8 1.7.4.1-2.el8_10
  • socat AlmaLinux 9 1.7.4.1-6.el9_6.1

almalinux advisories ALSA-2025:11042ALSA-2025:10353

  • socat Rocky Linux 9 1.7.4.1-6.el9_6.1
  • socat Rocky Linux 8 1.7.4.1-2.el8_10

rocky linux advisories RLSA-2025:10353RLSA-2025:11042

  • socat Azure Linux 3.0 1.7.4.4-2
  • socat CBL-Mariner 2.0 1.7.4.3-2

azure linux advisories AZL-53960AZL-53978

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2024-54661 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-54661 updated cvss 5.3

socat: arbitrary file overwrite via predictable /tmp directory

  • Red Hat Enterprise Linux 7 socat
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) socat 1.7.4.1-2.el8_10
    fixed: vendor fix RHSA-2025:11042
  • Red Hat Enterprise Linux AppStream (v. 9) socat 1.7.4.1-6.el9_6.1
    fixed: vendor fix RHSA-2025:10353
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) socat 1.7.4.1-5.el9_2.2
    fixed: vendor fix RHSA-2025:10544
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) socat 1.7.4.1-5.el9_4.3
    fixed: vendor fix RHSA-2025:10646

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
last yr.

Exploit prediction

0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • dest-unreach socat

Classification

Weakness
  • CWE-61 UNIX Symbolic Link (Symlink) Following

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.