fix(deps): update module github.com/pion/dtls/v3 to v3.1.0 [security] #643
+7
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.0.7→v3.1.0GitHub Vulnerability Alerts
GHSA-9f3f-wv7r-qc8r
Impact
Pion DTLS versions v1.0.0 through v3.1.0 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.0 or later. This version includes PR #796, which uses the 64-bit sequence number to populate the
nonce_explicitpart of the GCM nonce. This is according to best practice outlined in RFC 9325 section 7.2.1.Workarounds
There are no workarounds without upgrading to version v3.1.0 or later.
References
Commit fixing the bug: pion/dtls@61762de
Pull request: #796
Release Notes
pion/dtls (github.com/pion/dtls/v3)
v3.1.0Compare Source
Options patterns, Security fix and performance improvements.
Changelog
61762deUse sequence number for nonce in GCM ciphers (#796)46ee7c3Refactor Common AEAD Code in Ciphersuite Package (#789)10bd10aPrefer server srtp protection profiles ordering93c2677Fix rare flaky testd46d2a7Fix Bug in signature_algorithms_cert Handling (#791)acad848DTLS 1.3 signature_algorithms_cert Extension (#788)0a5b311Introduce options patterns9495befDTLS 1.3 RSA-PSS Signature Scheme Support (#778)f1c63e9Refactor error types for 1.3 extensions (#787)bed33feAdd PreSharedKey extensions for DTLS 1.3 (#773)01f7ba5Update CI configs to v0.11.375b824b0CCM Encrypt Speed + Memory Mgmt Improvements (#784)100a3aaGCM Speed + Memory Mgmt Improvements (#783)199a753Add Ciphersuite Benchmark Tests (#781)6b2fbf1Fix Race Condition in TestListenerCustomConnIDs (#782)8ea3afcFix intermittent unit test failures (#780)c6db81bUpdate README44160f0DTLS 1.3 CertificateRequest + Certificate Messages (#774)9121462Add Cookie extension for DTLS 1.3 (#770)v3.0.10Compare Source
Changelog
713910aUpgrade to pion/transport/v4e0d3160Add the key share extension (#749)7a57e26Update CI configs to v0.11.3608d8c3eFix gosec slice bounds warnings (#764)7b9612eHandshake fragments assembly refactoring (#762)v3.0.9Compare Source
Changelog
ab5f89bImplement TLS_EMPTY_RENEGOTIATION_INFO_SCSVd5761acPrevent negative intervalsv3.0.8Compare Source
Changelog
ffd97f5Backoff handshake retransmit7ab1bc9Update actions/checkout action to v6bdb5f23Update module github.com/pion/transport/v3 to v3.1.1 (#754)1d9b6b1Update module github.com/pion/transport/v3 to v3.1.0c06c3a7Lock while writing to encryptedPacketsca7d80eUpdate CI configs to v0.11.329cfb13fImprove the record layer fuzz testsdaa0fd4Add fuzz tests for gcm9ed5950Add fuzz tests for ccm7b68bd9Add fuzz tests for packet buffer7c62411Update CI configs to v0.11.313e12f76Add more tests for prfe7cbd62Migrate elliptic curves from elliptic to ecdh6ff535fUpdate module github.com/pion/transport/v3 to v3.0.8f6b0286Add the supported_versions extension120a895Handle ECONNREFUSED timeouted044c0Update CI configs to v0.11.295611b14Apply go modernize27c3405Update actions/checkout action to v58764fbdUpdate CI configs to v0.11.26465f544Update CI configs to v0.11.256e1e3c9Update module github.com/stretchr/testify to v1.11.1495a7b5Update CI configs to v0.11.240b11eabUpdate module github.com/stretchr/testify to v1.11.0b8c2ab4Fix lint issues with golangci-lint@v20bf1902Update CI configs to v0.11.22Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.