Live threats

All CVEs / Golang

CVE-2021-44717Golang Go

Medium 4.8 No auth needed

Priority
44
CVSS 3.1
4.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jan 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-404
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence of erroneous closing of file descriptor 0 after file-descriptor exhaustion.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.16.12 1.16.12 go get stdlib@v1.16.12
Go stdlib ≥ 1.17.0-0 < 1.17.5 1.17.5 go get stdlib@v1.17.5

Per OSV / GitHub Advisories (GO-2022-0289). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.16.12
golanggo≥ 1.17.0 < 1.17.5
debiandebian_linux9.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.