Skip to main content
EPSS 0.4%top 62%

Golang: Mishandling of corrupt central directory record in archive/zip (CVE-2024-24789)

0
Medium
Published: 06/07/2024 (06/07/2024, 07:19:15 UTC)
Source: GCVE Database
Product: golang

Description

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.

Affected software

Bitnamimore threats →ghsa
golang
pkg:bitnami/golang
Affected versions
<1.21.11>=1.22.0-0 <1.22.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 23:26:09 UTC

Technical Analysis

Red Hat has issued security advisories for the Go Toolset in Red Hat Enterprise Linux 8 addressing two vulnerabilities: CVE-2024-24789, which is an incorrect handling of certain ZIP files in the golang archive/zip package, and CVE-2024-24790, which involves unexpected behavior in the Is methods for IPv4-mapped IPv6 addresses in the golang net/netip package. These issues could lead to incorrect processing of ZIP files and unexpected network address behavior, respectively. The advisories provide updated packages to fix these vulnerabilities. The affected products include Red Hat Enterprise Linux 8 across multiple architectures and related components such as Red Hat OpenShift Serverless clients. Red Hat rates the security impact as moderate and provides detailed update instructions in their advisories.

Potential Impact

The vulnerabilities may cause incorrect processing of ZIP files and unexpected behavior in network address handling within applications using the Go Toolset. This could potentially lead to application errors or unexpected behavior but is not described as enabling direct code execution or privilege escalation. The overall security impact is rated as moderate by Red Hat.

Mitigation Recommendations

Red Hat has released updated packages for the Go Toolset in Red Hat Enterprise Linux 8 that address these vulnerabilities. Users should apply these official updates following Red Hat's published guidance at https://access.redhat.com/articles/11258 to remediate the issues. No additional mitigation steps are indicated beyond applying the vendor-provided patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2024:4237
Cve Count
2
Additional Cves
["CVE-2024-24790"]

Threat ID: 6a1df669e29bf47b5046211f

Added to database: 06/01/2026, 21:15:21 UTC

Last enriched: 08/14/2026, 23:26:09 UTC

Last updated: 09/10/2026, 22:04:13 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses