Insecure temporary file in socat



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-54661
CWE-ID CWE-377
Exploitation vector Local
Public exploit N/A
Vulnerable software
socat
Other software / Other software solutions

Vendor www.dest-unreach.org

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Insecure temporary file

EUVDB-ID: #VU101797

Risk: Low

CVSSv4.0: 1.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-54661

CWE-ID: CWE-377 - Insecure Temporary File

Exploit availability: No

Description

The vulnerability allows a local user to overwrite arbitrary files on the system.

The vulnerability exists due to usage of a predictable temporary file name in readline.sh. A local user can create a symbolic link from the temporary file to an arbitrary files on the system and overwrite it with the application's output, corrupting the file.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

socat: 1.0.3.0 - 2.0.0

CPE2.3 External links

https://repo.or.cz/socat.git/blob/6ff391324d2d3b9f6bfb58e7d16a20be43b47af7:/readline.sh#l29


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###