CVE-2024-54661

socat: arbitrary file overwrite via predictable /tmp directory

Published Dec 4, 2024 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-52644 readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.
Ubuntu USN Ubuntu USN USN-8511-1 socat vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00145}

epss

{'score': 0.00111}

Type Values Removed Values Added
Metrics epss

{'score': 0.00111}

epss

{'score': 0.00145}

Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.2
Vendors & Products Redhat rhel E4s
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Title socat: From CVEorg collector socat: arbitrary file overwrite via predictable /tmp directory
Type Values Removed Values Added
Description readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file. readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.
Weaknesses CWE-61
References
Type Values Removed Values Added
First Time appeared Dest-unreach
Dest-unreach socat
CPEs cpe:2.3:a:dest-unreach:socat:*:*:*:*:*:*:*:*
Vendors & Products Dest-unreach
Dest-unreach socat
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jan 9, 2025, 4:30 PM
Reserved
Dec 4, 2024, 12:00 AM
Status
Deferred
Published
Dec 4, 2024, 5:15 AM
Modified
Jun 17, 2026, 8:10 AM
Severity
Moderate
Public date
Dec 4, 2024, 12:00 AM