Creation of Temporary File in Directory with Insecure Permissions Affecting socat package, versions [,1.8.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.8% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SOCAT-8455516
  • published4 Dec 2024
  • disclosed4 Dec 2024
  • creditUnknown

Introduced: 4 Dec 2024

CVE-2024-54661  (opens in a new tab)
CWE-379  (opens in a new tab)

How to fix?

Upgrade socat to version 1.8.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Creation of Temporary File in Directory with Insecure Permissions due to the reliance on a temporary file located at /tmp/$USER/stderr2. An attacker can manipulate or read sensitive data by accessing or modifying this temporary file.

CVSS Base Scores

version 3.1