CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Golang

CVE-2022-2879
Golang Go vulnerability

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

Affected products

Go. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Golang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.