Uncontrolled Recursion Affecting std/archive/zip package, versions >=1.16.0-0 <1.16.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.52% (72nd 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-STDARCHIVEZIP-14564380
  • published6 Jan 2026
  • disclosed14 Apr 2021
  • creditUnknown

Introduced: 14 Apr 2021

CVE-2021-27919  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade std/archive/zip to version 1.16.1 or higher.

Overview

std/archive/zip is a Go standard library package std/archive/zip

Affected versions of this package are vulnerable to Uncontrolled Recursion.

Go Vulnerability Report:
via the Reader.Open function when processing an archive containing a file with a path prefixed by "../". An attacker can cause a panic and disrupt service availability by supplying a specially crafted archive file.

CVSS Base Scores

version 4.0
version 3.1