Misinterpretation of Input Affecting golang-docs package, versions <0:1.22.4-1.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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 IDSNYK-AMZN2023-GOLANGDOCS-7362341
  • published25 Jun 2024
  • disclosed5 Jun 2024

Introduced: 5 Jun 2024

CVE-2024-24790  (opens in a new tab)
CWE-115  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 golang-docs to version 0:1.22.4-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-646.

NVD Description

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

The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.

CVSS Scores

version 3.1