CVE-2024-24787 Affecting go-md2man package, versions <2.0.4-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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 IDSNYK-WOLFILATEST-GOMD2MAN-6840095
  • published14 May 2024
  • disclosed8 May 2024

Introduced: 8 May 2024

CVE-2024-24787  (opens in a new tab)

How to fix?

Upgrade Wolfi go-md2man to version 2.0.4-r3 or higher.

NVD Description

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

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the -lto_library flag in a "#cgo LDFLAGS" directive.

CVSS Scores

version 3.1