CVE-2024-24787 Affecting wireguard-go package, versions <0.0.20230223-r11


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-CHAINGUARDLATEST-WIREGUARDGO-6841131
  • published14 May 2024
  • disclosed8 May 2024

Introduced: 8 May 2024

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

How to fix?

Upgrade Chainguard wireguard-go to version 0.0.20230223-r11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wireguard-go package and not the wireguard-go package as distributed by Chainguard. See How to fix? for Chainguard 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