github.com/crossplane/crossplane: Unexpected behavior from Is methods for IPv4-mapped IPv6 addressesGHSA-7h65-4p22-39j6
CRITICALGHSA-7h65-4p22-39j6 is a critical-severity (CVSS 9.8) vulnerability in github.com/crossplane/crossplane. A fix is available for github.com/crossplane/crossplane — see the affected versions and patch details below.
Real-World Exposure
github.com/crossplane/crossplane🐹github.com/crossplane/crossplane🐹github.com/crossplane/crossplaneReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A critical vulnerability was reported in the versions of golang that Crossplane depends on. Details of the golang vulnerability are included below. Crossplane does not directly use the vulnerable functions from the net/netip package, but the version of golang libraries, runtime, and build tools have still been updated as part of this security advisory nonetheless.
Critical Vulnerabilities
Vulnerability: CVE-2024-24790, golang: net/netip: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses
Description: 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.
Affected versions: 1.17.1,1.16.2,1.15.5
See screenshot for more details
Fixed versions: 1.17.2,1.16.3,1.15.6
Release notes:
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/crossplane/crossplane | ≥ 1.15.5&&< 1.15.6 | 1.15.6go get github.com/crossplane/crossplane@v1.15.6 |
| 🐹Go | github.com/crossplane/crossplane | ≥ 1.16.2&&< 1.16.3 | 1.16.3go get github.com/crossplane/crossplane@v1.16.3 |
| 🐹Go | github.com/crossplane/crossplane | ≥ 1.17.1&&< 1.17.2 | 1.17.2go get github.com/crossplane/crossplane@v1.17.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/crossplane/crossplane, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/crossplane/crossplane to 1.15.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7h65-4p22-39j6 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-7h65-4p22-39j6 in your dependencies?
Find it across Go, including transitive dependencies.