Skip to content

Bump github.com/gopacket/gopacket from 1.8.0 to 1.8.1 - #629

Merged
jotak merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.8.1
Dec 3, 2026
Merged

jotak merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gopacket/gopacket-1.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/gopacket/gopacket from 1.8.0 to 1.8.1.

Release notes

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

v1.8.1

Security release. Upgrade if you read pcapng files, or decode GTP, from sources you do not control.

Security fixes

Three reports from Anthropic's automated vulnerability scanner. Each needs a crafted capture file; none is reachable by sending packets over an ordinary link.

  • GTP: the GTPv2 and GTPv1-U decoders tracked their position in a 16-bit counter. In a message of 64 KiB or more the counter wrapped to the start, and a crafted message kept the decoder appending until the process ran out of memory. The counter is now a full-width integer.
  • pcapng reader, lengths: NgReader read option values, packet data and decryption secrets by the length the file states without comparing it to the block that holds them. A length larger than its block made the reader buffer the rest of the file, lose its place, or, in a capture over 4 GiB, skip packets without an error. Every read is now checked against its block. A block that fails is skipped and reported, and reading continues with the next block.
  • pcapng reader, memory: NgReader kept every interface, name record and decryption secret of a section, and every comment, hash and verdict of a packet, with no limit. A gzip-compressed capture of a few hundred kilobytes could make it hold gigabytes. Each list now has a limit, described below.

Behaviour changes

  • NgReader keeps at most 65,536 interfaces without options per section, fewer when they carry names or descriptions. A packet on a later interface returns the same error as a packet on an unknown interface.
  • NgReader keeps about 16 MiB of name records per section and at most 1,024 comments, 1,024 hashes and 1,024 verdicts per packet. The rest is read and dropped without an error.
  • A pcapng block whose contents do not fit in it returns an error that names the block type. Before, the reader returned io.ErrUnexpectedEOF or went on from the wrong place.
  • An error for a packet or statistics block that names an unknown interface no longer stops the reader from returning the packets after it.
  • A Simple Packet Block shorter than its stated packet length is returned as the bytes the block holds.
  • GTPv2 messages that end at offsets 65536 to 65539 decode. A GTPv1-U packet shorter than a stated Message Length of 0xFFF8 or more is rejected, like any other short packet.
Commits
  • 7f37334 pcapgo: bound what NgReader keeps of a section
  • 5170bc3 pcapgo: keep NgReader reads inside the pcapng block
  • 6f44b4a layers: keep GTP cursors in int past 64 KiB
  • c6a4163 security: stop issuing CVEs for crash-only bugs
  • 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.8.0 to 1.8.1.
- [Release notes](https://github.com/gopacket/gopacket/releases)
- [Commits](gopacket/gopacket@v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gopacket/gopacket
  dependency-version: 1.8.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 Nov 30, 2026
@openshift-merge-bot

Copy link
Copy Markdown

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@openshift-ci

openshift-ci Bot commented Nov 30, 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 jpinsonneau 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 Nov 30, 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.

@jotak
jotak merged commit 113d892 into main Dec 3, 2026
6 of 9 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/gopacket/gopacket-1.8.1 branch December 3, 2026 07:58
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