Improper Input Validation Affecting golang package, versions <0:1.22.4-1.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GOLANG-7364887
  • published25 Jun 2024
  • disclosed5 Jun 2024

Introduced: 5 Jun 2024

CVE-2024-24789  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 golang to version 0:1.22.4-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2024-2576.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang package and not the golang package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1