Skip to content

Update module github.com/pion/dtls/v3 to v3.1.13 [SECURITY] - #520

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-pion-dtls-v3-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-pion-dtls-v3-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/pion/dtls/v3 v3.0.6 → v3.1.13 age confidence

Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key

CVE-2026-26014 / GHSA-9f3f-wv7r-qc8r

More information

Details

Impact

Pion DTLS versions v1.0.0 through v3.0.10 use random nonce generation with AES GCM ciphers, which makes it easier for remote attackers to obtain the authentication key and spoof data by leveraging the reuse of a nonce in a session and a "forbidden attack".

Patches

Upgrade to v3.1.1 or later. This version includes PR #​796, which uses the 64-bit sequence number to populate the nonce_explicit part of the GCM nonce. This is according to best practice outlined in RFC 9325 section 7.2.1.

v3.0.11 is a backport patch supporting Go v1.21

Workarounds

There are no workarounds without upgrading to version v3.0.11, v3.1.1 or later.

References

Commit fixing the bug: pion/dtls@61762de
Commit fixing the bug (backport): 90e241c
Pull request: #​796

Severity

  • CVSS Score: 5.9 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message

CVE-2026-54908 / GHSA-wg4g-wm44-ch5j

More information

Details

Impact

Remote denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message.

Patches

Upgrade to v3.1.4 or later. This version includes this patch https://github.com/pion/dtls/pull/839 which fixes the issue.

Workarounds

No work around; please upgrade to v3.1.4 or a newer version.

Severity

  • CVSS Score: 6.3 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation

CVE-2026-135388 / GHSA-7c2r-jhm9-43vf

More information

Details

Summary

Pion DTLS did not consistently validate that a handshake signature scheme matched the certificate's public key type and required hash algorithm. An attacker could exploit this mismatch to bypass proof of possession of a certificate's private key and impersonate that certificate's owner.

Discovered by Anthropic's OSS Scanner, tracking ID 0Q4PYECH.

Details

The vulnerable implementation selected the signature verification primitive from the certificate's public key type, while deriving the digest from the peer-controlled handshake signature scheme.

A signature constructed solely from an ECDSA P-256 certificate's public key was accepted by both vulnerable verification functions:

  • verifyKeySignature, used for ServerKeyExchange.
  • verifyCertificateVerify, used for CertificateVerify.

The same forged signature was accepted for two different handshake messages, confirming that verification was independent of the transcript.

Impact

An attacker who can redirect the victim's DTLS handshake, and also have access to the peer's public certificate, may impersonate that peer without its private key. For WebRTC, checking the SDP certificate fingerprint does not prevent this attack because the attacker presents the genuine peer certificate.

Fixed by pion/dtls@cb56053

Severity

  • CVSS Score: 9.1 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

pion/dtls (github.com/pion/dtls/v3)

v3.1.13

Compare Source

Changelog

  • da75e4d Backport record-layer validation fixes
  • fa6e8d3 Limit peer RSA key sizes before signature verification
  • 22bf92f Prevent early application data from blocking handshakes
  • 37cd0b4 Reject unoffered curves in DTLS client key exchange
  • ab433f0 Verify client Finished in DTLS 1.2 full handshakes
  • 80b6c18 Negotiate DTLS parameters from the cookie CH
  • 979ad79 Process the client cer flight once per handshake
  • 252cf49 Honor local signature policy for CertificateVerify
  • cb56053 Validate handshake signature against certificate keys
  • f444d08 Bound handshake cache memory usage

v3.1.12

Compare Source

Changelog

  • 240a139 Retransmit server flight on repeated CH

v3.1.11

Compare Source

Changelog

  • 9439959 Honor configured elliptic curves on accept path (#​1153)
  • 29aaee8 Validate MKI negotiation
  • 28014a1 Return a copy of the remote SRTP MKI
  • 62b354b Fix CCM length encoding of long additional data
  • cb2da2c Fix empty 1.2 ECDHE-PSK identity hint
  • 864822e Copy queued records only when they are queued
  • b677d89 Copy queued records out of the pooled read buffer

v3.1.10

Compare Source

Changelog

  • 2954d47 Allow PSK handshake if client certs are required
  • 299134f Honor requested certificate types

v3.1.9

Compare Source

Changelog

  • 678003b Count empty towards against limit
  • a251bf0 Update to transport/v5 and Deadline.Context
  • 14d97c2 Reassemble re-fragmented handshake retransmits

v3.1.8

Compare Source

Changelog

  • 6371480 Close rejected listeners at Accept

v3.1.7

Compare Source

Changelog

  • 52861e4 Fix packet connection leak

v3.1.6

Compare Source

Changelog

  • 9311efd Fix panic unmarshaling ECDHE_PSK ClientKeyExchange

v3.1.5

Compare Source

Changelog

  • 9c642f8 Unblock reads when conn is closed
  • e2959fd Remove the obsolete Go 1.14 build tag
  • 8674b27 Update actions/checkout action to v7
  • 8f512dc Update module github.com/pion/transport/v4 to v4.0.2 (#​836)
  • 1ce56ab Update dtls-1.2 branch name
  • bc02e81 Document main-branch tagging freeze

v3.1.4

Compare Source

Changelog

v3.1.3

Compare Source

Changelog

v3.1.2

Compare Source

Changelog

  • a621789 Retract v3.1.0
  • 1beb12f Fix OpenSSL Interop for RSA SignatureHashAlgos
  • 605dc7e Update module golang.org/x/crypto to v0.45.0 [SECURITY] (#​756)
  • 2d6d27f Update CI configs to v0.11.39

v3.1.1

Compare Source

Changelog

  • fa21c26 Retract v3.1.0
  • dc45e23 Fix OpenSSL Interop for RSA SignatureHashAlgos

v3.1.0

Compare Source

Options patterns, Security fix and performance improvements.

Changelog

v3.0.11

Compare Source

Backport security fix for GHSA-9f3f-wv7r-qc8r (CVE-2026-26014)

This is the only release with the security fix for Go v1.21.

v3.0.10

Compare Source

Changelog

v3.0.9

Compare Source

Changelog

  • ab5f89b Implement TLS_EMPTY_RENEGOTIATION_INFO_SCSV
  • d5761ac Prevent negative intervals

v3.0.8

Compare Source

Changelog

  • ffd97f5 Backoff handshake retransmit
  • 7ab1bc9 Update actions/checkout action to v6
  • bdb5f23 Update module github.com/pion/transport/v3 to v3.1.1 (#​754)
  • 1d9b6b1 Update module github.com/pion/transport/v3 to v3.1.0
  • c06c3a7 Lock while writing to encryptedPackets
  • ca7d80e Update CI configs to v0.11.32
  • 9cfb13f Improve the record layer fuzz tests
  • daa0fd4 Add fuzz tests for gcm
  • 9ed5950 Add fuzz tests for ccm
  • 7b68bd9 Add fuzz tests for packet buffer
  • 7c62411 Update CI configs to v0.11.31
  • 3e12f76 Add more tests for prf
  • e7cbd62 Migrate elliptic curves from elliptic to ecdh
  • 6ff535f Update module github.com/pion/transport/v3 to v3.0.8
  • f6b0286 Add the supported_versions extension
  • 120a895 Handle ECONNREFUSED timeout
  • ed044c0 Update CI configs to v0.11.29
  • 5611b14 Apply go modernize
  • 27c3405 Update actions/checkout action to v5
  • 8764fbd Update CI configs to v0.11.26
  • 465f544 Update CI configs to v0.11.25
  • 6e1e3c9 Update module github.com/stretchr/testify to v1.11.1
  • 495a7b5 Update CI configs to v0.11.24
  • 0b11eab Update module github.com/stretchr/testify to v1.11.0
  • b8c2ab4 Fix lint issues with golangci-lint@​v2
  • 0bf1902 Update CI configs to v0.11.22

v3.0.7

Compare Source

Changelog

  • e3cf6bc Comply with RFC5746 and RFC5246
  • f0c0987 Update module github.com/pion/logging to v0.2.4
  • 63bf30c Update CI configs to v0.11.20
  • 34fbe21 Replace interface{} with any
  • 8bf2c71 Fix packet buffer read index after buffer resize
  • 806ff2f Refactor cfg.onFlightState, avoid data race
  • f5e908f Update CI configs to v0.11.19
  • 58d3b7e Update lint rules, force testify/assert
  • e57dc04 Update social media links, move to discord

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested review from Danielius1922 and jkralik February 11, 2026 17:35
@renovate

renovate Bot commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.24.0
github.com/pion/logging v0.2.3 -> v0.2.4
github.com/stretchr/testify v1.10.0 -> v1.12.1
golang.org/x/crypto v0.38.0 -> v0.48.0
golang.org/x/net v0.40.0 -> v0.49.0
golang.org/x/sys v0.33.0 -> v0.41.0

@renovate renovate Bot changed the title fix(deps): update module github.com/pion/dtls/v3 to v3.1.0 [security] fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] Feb 13, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-pion-dtls-v3-vulnerability branch from 7741a8c to a3e900b Compare February 24, 2026 13:17
@renovate renovate Bot changed the title fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/go-github.com-pion-dtls-v3-vulnerability branch March 27, 2026 01:49
@renovate renovate Bot changed the title fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] - autoclosed fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-pion-dtls-v3-vulnerability branch 2 times, most recently from a3e900b to b30322b Compare March 30, 2026 22:03
@renovate renovate Bot changed the title fix(deps): update module github.com/pion/dtls/v3 to v3.0.11 [security] Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] Apr 8, 2026
@renovate renovate Bot changed the title Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] - autoclosed Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-pion-dtls-v3-vulnerability branch 2 times, most recently from b30322b to b27926f Compare April 27, 2026 22:58
@renovate
renovate Bot force-pushed the renovate/go-github.com-pion-dtls-v3-vulnerability branch from b27926f to 04b516c Compare August 1, 2026 08:34
@renovate renovate Bot changed the title Update module github.com/pion/dtls/v3 to v3.0.11 [SECURITY] Update module github.com/pion/dtls/v3 to v3.1.4 [SECURITY] Aug 1, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-pion-dtls-v3-vulnerability branch from 04b516c to 9257684 Compare December 1, 2026 01:22
@renovate renovate Bot changed the title Update module github.com/pion/dtls/v3 to v3.1.4 [SECURITY] Update module github.com/pion/dtls/v3 to v3.1.13 [SECURITY] Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ca86d699-b1c2-42fd-bfdd-223046e97940

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants