Improper Resource Shutdown or Release Affecting std/syscall package, versions <1.16.12>=1.17.0-0 <1.17.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.86% (77th 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-GOLANG-STDSYSCALL-14552559
  • published6 Jan 2026
  • disclosed18 May 2022
  • creditTomasz Maczukin, Kamil Trzciński

Introduced: 18 May 2022

CVE-2021-44717  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade std/syscall to version 1.16.12, 1.17.5 or higher.

Overview

std/syscall is a Go standard library package std/syscall

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release.

Go Vulnerability Report:

When a Go program running on a Unix system is out of file descriptors and calls syscall.ForkExec (including indirectly by using the os/exec package), syscall.ForkExec can close file descriptor 0 as it fails. If this happens (or can be provoked) repeatedly, it can result in misdirected I/O such as writing network traffic intended for one connection to a different connection, or content intended for one file to a different one.For users who cannot immediately update to the new release, the bug can be mitigated by raising the per-process file descriptor limit.

CVSS Base Scores

version 4.0
version 3.1