Skip to content

Go

Mishandling of corrupt central directory record in archive/zip

CVE-2024-24789Published 5 Jun 2024, 15:13 UTC

Real-world risk

1.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Go)

The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.

Am I affected?

ProductAffected versions (from the sources)Fixed in
GoUbiquitous< 1.21.11; >= 1.22.0, < 1.22.41.21.11, 1.22.4
archive/zipNiche< 1.21.11; >= 1.22.0-0, < 1.22.41.21.11, 1.22.4

What to do

Update to a fixed version: 1.21.11, 1.22.4.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.35 × threat 0.950.997
  4. Rounded to one decimal between 0.1 and 101.0

How the score works

Exploitation and evidence timeline

  1. 5 Jun 2024 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 1.0 (cvss fallback)

Weakness

CWE-390

References

Get alerts for Go

Free email or text alerts when a vulnerability in Go reaches risk 8 or higher. Nothing else.