Every CVE Search/ Get API key

CVE-2021-27919

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon...

5.5 MediumFix available

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.52%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
CVE-2021-27919
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Updated
2026-11-02
CVE List No score

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
CVE-2021-27919
Updated
2026-11-02
EUVDEUVD-2021-14642 No score

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
EUVD-2021-14642
Updated
2026-11-03
GitHub AdvisoriesGHSA-v7gg-6p99-5jxq 5.5

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon...

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
GHSA-v7gg-6p99-5jxq
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALPINE-CVE-2021-27919 5.5

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
ALPINE-CVE-2021-27919
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVBELL-CVE-2021-27919 5.5

CVE-2021-27919 does not affect BellSoft software

Record
BELL-CVE-2021-27919
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSV 5.5

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
CVE-2021-27919
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-27919 5.5

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
UBUNTU-CVE-2021-27919
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBIT-golang-2021-27919 No score

archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

Record
BIT-golang-2021-27919
Updated
2026-11-02
OSVGO-2021-0067 No score

Panic when opening archives in archive/zip

Using Reader.Open on an archive containing a file with a path prefixed by "../" will cause a panic due to a stack overflow. If parsing user supplied archives, this may be used as a denial of service vector.

Record
GO-2021-0067
Updated
2026-11-02
OSVopenSUSE-SU-2024:10809-1 No score

go1.16-1.16.8-1.1 on GA media

These are all security issues fixed in the go1.16-1.16.8-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10809-1
Updated
2026-11-02
OSVSUSE-SU-2021:0937-1 No score

Security update for go1.16

This update for go1.16 fixes the following issues:

  • go1.16.2 (released 2021-03-11) (bsc#1182345)
  • go1.16.1 (released 2021-03-10) (bsc#1182345)
    • CVE-2021-27918: Fixed an infinite loop when using xml.NewTokenDecoder with a custom TokenReader (bsc#1183333).
    • CVE-2021-27919: Fixed an issue where archive/zip: can panic when calling Reader.Open (bsc#1183334).
Record
SUSE-SU-2021:0937-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
go
Alpine:v3.13
1.16.0 up to 1.15.10-r0
1.15.10-r0
go
Alpine:v3.14
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.15
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.16
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.17
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.18
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.19
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.20
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.21
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.22
1.16.0 up to 1.16.2-r0
1.16.2-r0
Show 17 moreShow less
Affected packages
PackageAffectedFixed
go
Alpine:v3.23
1.16.0 up to 1.16.2-r0
1.16.2-r0
go
Alpine:v3.24
1.16.0 up to 1.16.2-r0
1.16.2-r0
golang
Bitnami
1.16.0 up to 1.16.1
1.16.1
stdlib
Go
1.16.0-0 up to 1.16.1
1.16.1
go1.16
SUSE:Linux Enterprise Module for Development Tools 15 SP2
From an advisory covering 2 CVEs
before 1.16.2-1.8.1
1.16.2-1.8.1
golang-1.10
Ubuntu:14.04:LTS
All versions, plus listed versions
1.10.4-2ubuntu1~14.04.1
None known
golang-1.10
Ubuntu:16.04:LTS
All versions, plus listed versions
1.10.4-2ubuntu1~16.04.11.10.4-2ubuntu1~16.04.2
None known
golang-1.6
Ubuntu:16.04:LTS
All versions, plus listed versions
1.6-0ubuntu11.6-0ubuntu21.6-0ubuntu31.6-0ubuntu41.6-0ubuntu5
Show 5 moreShow less
1.6.1-0ubuntu11.6.2-0ubuntu5~16.041.6.2-0ubuntu5~16.04.21.6.2-0ubuntu5~16.04.31.6.2-0ubuntu5~16.04.4
None known
golang-1.13
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.13.8-1ubuntu1~16.04.21.13.8-1ubuntu1~16.04.31.13.8-1ubuntu1~16.04.3+esm21.13.8-1ubuntu1~16.04.3+esm3
None known
golang-1.10
Ubuntu:18.04:LTS
All versions, plus listed versions
1.10~rc1-11.10~rc1-1ubuntu11.10~rc1-2ubuntu11.10~rc2-1ubuntu11.10-1ubuntu11.10.1-1ubuntu21.10.4-2ubuntu1~18.04.11.10.4-2ubuntu1~18.04.2
None known
golang-1.13
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.13.8-1ubuntu1~18.04.21.13.8-1ubuntu1~18.04.31.13.8-1ubuntu1~18.04.41.13.8-1ubuntu1~18.04.4+esm1
None known
golang-1.8
Ubuntu:18.04:LTS
All versions, plus listed versions
1.8.3-2ubuntu11.8.3-2ubuntu1.18.04.1
None known
golang-1.9
Ubuntu:18.04:LTS
All versions, plus listed versions
1.9.1-2ubuntu11.9.2-1ubuntu11.9.2-3ubuntu11.9.3-1ubuntu11.9.4-1ubuntu1
None known
golang-1.13
Ubuntu:20.04:LTS
All versions, plus listed versions
1.13.1-1ubuntu11.13.3-1ubuntu11.13.4-1ubuntu11.13.5-1ubuntu11.13.6-1ubuntu1
Show 5 moreShow less
1.13.6-2ubuntu11.13.7-1ubuntu11.13.8-1ubuntu11.13.8-1ubuntu1.11.13.8-1ubuntu1.2
None known
golang-1.14
Ubuntu:20.04:LTS
All versions, plus listed versions
1.14~beta1-11.14~beta1-21.14~rc1-11.14-11.14.1-1
Show 4 moreShow less
1.14.2-11.14.2-1ubuntu11.14.3-2ubuntu2~20.04.11.14.3-2ubuntu2~20.04.2
None known
golang-1.13
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
1.13.8-1ubuntu21.13.8-1ubuntu2.22.04.11.13.8-1ubuntu2.22.04.1+esm11.13.8-1ubuntu2.22.04.2
None known
go1.16
openSUSE:Tumbleweed
From an advisory covering 10 CVEs
before 1.16.8-1.1
1.16.8-1.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-27919 is a medium vulnerability (CVSS 5.5) in Golang Go, published March 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.52%, the 74th percentile. Fixed in go 1.15.10-r0.

References

Show 24 moreShow less
MoveEnter Open