{"id":"CVE-2021-27919","aliases":["CVE-2021-27919","GO-2021-0067","BIT-GOLANG-2021-27919"],"related":[],"kind":"vulnerability","state":"published","title":"Panic when opening archives in archive/zip","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"archive/zip en Go versiones 1.16.x anteriores a 1.16.1, permite a atacantes causar una denegación de servicio (pánico) al intentar usar la API Reader.Open para un archivo ZIP en el que ../ aparece al principio de cualquier nombre de archivo","source":"nvd"}],"published":"2021-03-11T00:00:13.000Z","modified":"2026-09-08T08:47:46.694Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.16.0-0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","introduced":"1.16.0","fixed":"1.16.1"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.1"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw","tags":["advisory","mailing-list","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MU47VKTNXX33ZDLTI2ORRUY3KLJKU6G/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HM7U5JNS5WU66Q3S26PFIU2ITB2ATTQ4/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://go.dev/cl/300489","tags":["fix"],"sources":["go"]},{"url":"https://go.googlesource.com/go/+/cd3b4ca9f20fd14187ed4cdfdee1a02ea87e5cd8","tags":["fix"],"sources":["go"]},{"url":"https://go.dev/issue/44916","tags":["report"],"sources":["go"]},{"url":"https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw/m/zzhWj5jPAQAJ","tags":["web"],"sources":["go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27919","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27919","url":"https://www.cve.org/CVERecord?id=CVE-2021-27919","licence":"CVE Terms of Use","modified":"2024-08-03T21:33:17.224Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0067","url":"https://pkg.go.dev/vuln/GO-2021-0067","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27919","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27919","licence":"Public domain","modified":"2026-06-17T03:45:37.090Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2021-27919","url":"https://osv.dev/vulnerability/BIT-GOLANG-2021-27919","licence":"Apache-2.0","modified":"2026-09-08T08:47:46.694Z"}],"updatedAt":"2026-11-25T22:58:00.233Z","epss":{"score":0.01517,"percentile":0.75293,"date":"2026-12-01T12:00:22.000Z"}}