GHSA-hhpj-h56m-9f2p

Suggest an improvement
Source
https://github.com/advisories/GHSA-hhpj-h56m-9f2p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-hhpj-h56m-9f2p/GHSA-hhpj-h56m-9f2p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hhpj-h56m-9f2p
Aliases
Published
2026-12-03T01:50:44Z
Modified
2026-12-03T02:00:16Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Pion DTLS: Client authentication bypass through premature DTLS 1.2 session caching
Details

Summary

Pion DTLS saves resumable sessions before the original handshake has completed client authentication. An unauthenticated attacker can create an unfinished session and then resume it to bypass required client-certificate authentication. This doesn't affect webrtc users.

Discovered by Anthropic's OSS Scanner ANT-2026-8ECSI13S

Details

Affected servers must enable a SessionStore, negotiate a certificate-based cipher suite, and require client certificates through RequireAnyClientCert or RequireAndVerifyClientCert. The same mechanism can bypass a rejecting VerifyConnection callback.

The server stores the session ID and master secret after processing ClientKeyExchange, before receiving and validating the client's Finished message and enforcing the final authentication checks.

Impact

An attacker can omit the client Certificate message, send ClientKeyExchange, and leave the handshake unfinished. Because the attacker participated in the key exchange, it knows the resulting master secret. It can then open another connection and resume the cached session. The abbreviated handshake validates possession of that secret without enforcing the original client-authentication requirements.

fixed by https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284

Database specific
{
    "cwe_ids":  [
        "CWE-287"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-03T01:50:44Z",
    "nvd_published_at":  "2026-11-24T17:18:24Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/pion/dtls/v2

Package

Name
github.com/pion/dtls/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.1.0
Last Affected
2.2.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-hhpj-h56m-9f2p/GHSA-hhpj-h56m-9f2p.json"

Go / github.com/pion/dtls/v3

Package

Name
github.com/pion/dtls/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v3

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.1.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-hhpj-h56m-9f2p/GHSA-hhpj-h56m-9f2p.json"

Go / github.com/pion/dtls/v4

Package

Name
github.com/pion/dtls/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v4

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.0-rc.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-hhpj-h56m-9f2p/GHSA-hhpj-h56m-9f2p.json"