Appsecure logo

CVE-2024-24789: Medium Vulnerability in Golang Go

A medium-severity vulnerability in the Golang Go archive/zip package can lead to inconsistent handling of invalid zip files. Organizations are urged to patch to prevent potential integrity issues.

MEDIUMCVSS 5.5 · Published June 5, 2024

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

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.

This vulnerability allows for potential integrity impact within applications using the Golang Go library. The CVSS score of 5.5 classifies this as a medium severity issue, suggesting that organizations should address this in their patch cycle.

Risk to organizations includes the potential for inconsistent application behavior and possible data integrity issues when processing zip files. Failure to address this vulnerability could lead to significant operational risks.

Organizations should prioritize patching immediately to mitigate the risk associated with this vulnerability.

Vulnerability Details

The official description of CVE-2024-24789 indicates that the archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations, which could allow for the creation of zip files with varying contents. The package has been updated to reject such files.

The CVSS score is 5.5, which is classified as medium severity. This means that while the vulnerability is not critical, it still presents a notable risk that should not be overlooked.

Technical Analysis

The root cause of this vulnerability lies in the inconsistent handling of invalid zip files within the archive/zip package. The attack vector is local, meaning an attacker would need local access to exploit this vulnerability. The complexity of the attack is low; no special skills are needed.

The privileges required are low, meaning that an attacker could potentially exploit this vulnerability with minimal access. User interaction is not required, making it easier for an attacker to execute an attack.

The impact on confidentiality is none, while the integrity impact is high, as the vulnerability could lead to corrupted or improperly handled data. There is no impact on availability.

Risk & Impact Analysis

Real-world deployment risk is significant, particularly for applications that heavily rely on zip file processing. The inconsistency in handling zip files could lead to unexpected behaviors in applications, affecting data integrity.

This vulnerability matters to organizations as it could lead to data corruption or loss, affecting business operations and trust in applications. The potential for a blast radius is notable, especially in environments where multiple applications rely on the same zip processing libraries.

Urgency assessment based on the CVSS score suggests that organizations should address this vulnerability in their priority patch cycle to ensure the integrity of their applications.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

Affected versions include all versions of the Golang Go package prior to 1.21.11 and from 1.22.0 to 1.22.4. Organizations should ensure they are running the patched versions to avoid these vulnerabilities.

Mitigation & Remediation

Organizations should update to the latest stable version of Golang Go to mitigate this vulnerability. If immediate patching is not possible, consider implementing configuration hardening measures by validating zip file inputs and applying network controls to limit access to vulnerable components.

For further assistance, organizations may consider engaging in penetration testing to ensure security measures are effective.

Detection Guidance

Log indicators for this vulnerability may include attempts to process invalid zip files. Behavioral anomalies in zip file handling should also be monitored closely.

Network signatures that indicate attempts to exploit this vulnerability can be developed to detect unauthorized access attempts to the affected components.

AppSecure Threat Intelligence Insight

The long-term significance of this vulnerability highlights the importance of consistent zip file handling across implementations. Security teams should take lessons from this incident to ensure thorough testing of library components.

This vulnerability represents a trend towards increased scrutiny of libraries that handle data formats, emphasizing the need for rigorous security testing in development processes.

Strategic defensive takeaways include regular updates to dependencies and active engagement in vulnerability management programs to prevent similar issues in the future.

For more comprehensive security strategies, organizations should consider reviewing their vulnerability management program and ensure it aligns with current best practices.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.