Skip to content

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

Merged
jotak merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.7.1
Sep 2, 2026
Merged

Bump github.com/gopacket/gopacket from 1.7.0 to 1.7.1#569
jotak 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 Sep 2, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 2, 2026
@openshift-ci

openshift-ci Bot commented Sep 2, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign memodi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Sep 2, 2026

Copy link
Copy Markdown

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a netobserv member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.18%. Comparing base (080def6) to head (2ea9b9b).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #569   +/-   ##
=======================================
  Coverage   13.18%   13.18%           
=======================================
  Files          20       20           
  Lines        2443     2443           
=======================================
  Hits          322      322           
  Misses       2095     2095           
  Partials       26       26           
Flag Coverage Δ
unittests 13.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jotak
jotak merged commit b1cba3a into main Sep 2, 2026
8 of 10 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/gopacket/gopacket-1.7.1 branch September 2, 2026 12:34
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 needs-ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant