Skip to content

Bump github.com/gopacket/gopacket from 1.7.0 to 1.7.1 - #258

Merged
ddddddO merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.7.1
Aug 26, 2026
Merged

ddddddO merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/gopacket/gopacket from 1.7.0 to 1.7.1.

Release notes

Sourced from github.com/gopacket/gopacket's releases.

v1.7.1

Security release. All versions up to and including v1.7.0 are affected — upgrade is recommended for anyone decoding untrusted packets or capture files.

Security fixes

Crafted input caused runtime panics (out-of-bounds slice/index, or unsigned underflow producing an inverted range) in a number of layers/ decoders. Each is now bounded against the buffer, returning a decode error and setting SetTruncated() instead of crashing.

Advisory Area
CVE-2026-65819 TLS, DHCPv4, sFlow, IPSecAH, VRRPv2, Diameter, GTPv1U, ERSPAN, LCM, RadioTap, Dot11IE — the fix for this shipped in no prior release
GHSA-6h9g-cjv3-pg2c TCP MPTCP options — on the ordinary Ethernet→IP→TCP path, so any consumer decoding untrusted TCP was exposed
GHSA-25xj-ggj7-jqgf SIP header folding (port-auto-selected, single UDP datagram)
GHSA-cxrr-2gv2-m94w EtherIP, AGUEVar0, UDPLite, MPLS, EthernetCTP, PFLog, LinuxSLL, LinuxSLL2, PktapV1, Prism, PPP, FDDI

Note on exposure: gopacket.NewPacket with default options and DecodingLayerParser with IgnorePanic: false both recover, so those callers previously saw a decode error rather than a crash. A process crash landed on a direct DecodeFromBytes call, IgnorePanic: true, or SkipDecodeRecovery: true.

The GHSA-cxrr decoders split by trust model: the first five carry remote-attacker-controlled bytes, while PFLog, LinuxSLL/SLL2, PktapV1, Prism, PPP and FDDI are written by the host's own capture stack, making a crafted pcap from an untrusted source the realistic input rather than a packet off the wire.

Other fixes

  • Protocol decoder length checks across arp, ipsec, pppoe, rudp, sctp and vrrp (#163)
  • MDNS name serialization fix (#157)
  • Regression tests for DNS decodeSVCB truncated SvcParams, and for every advisory above

Credits

CVE-2026-65819 reported by @​mosajjal (Fenko). The three GHSAs above reported by zx (Jace) (@​manus-use) and validated by @​FoxhoundAI.

Commits
  • 2220269 test(layers): add regression tests for the decoder panic advisories
  • de853ae layers:various: add length checks to twelve link and tunnel decoders
  • 888f295 layers/sip: reject a header continuation line before any header
  • 7cfad9e layers/tcp: bound MPTCP option length before subtype dispatch
  • f87e843 build(deps): bump actions/setup-go from 6 to 7 (#164)
  • 1c51bb8 test(dns): add regression test for decodeSVCB truncated-SvcParams panic
  • f8b2b11 fix MDNS name serialization (#157)
  • b772f56 layers:various: add protocol decoder length checks (#163)
  • 210f25f Merge commit from fork
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 14, 2026
Bumps [github.com/gopacket/gopacket](https://github.com/gopacket/gopacket) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/gopacket/gopacket/releases)
- [Commits](gopacket/gopacket@v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/gopacket/gopacket
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/gopacket/gopacket-1.7.1 branch from 6cad3ea to 391f5af Compare August 21, 2026 10:13
@ddddddO
ddddddO merged commit e0ffef7 into main Aug 26, 2026
@ddddddO
ddddddO deleted the dependabot/go_modules/github.com/gopacket/gopacket-1.7.1 branch August 26, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant