{"answers":{"affected":"5 open source packages ship an affected version, including github.com/pion/dtls/v2 and github.com/pion/dtls. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-29189 in the wild and no public exploit code.","fix":"Upgrade github.com/pion/dtls/v2 to 2.1.4 or later.","what":"CVE-2022-29189 is a medium-severity denial of service vulnerability in pion dtls, published on 20 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-29189 and fix it if it is affected.\n\nWhat it is: CVE-2022-29189 is a medium-severity denial of service vulnerability in pion dtls, published on 20 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-29189 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/pion/dtls/v2 (Go): affected all versions; fixed in 2.1.4\n- github.com/pion/dtls/v2 (Go): affected all versions; fixed in 2.1.4\n- github.com/pion/dtls/v2 (Go): affected all versions; fixed in 2.1.4\n- github.com/pion/dtls (Go): affected all versions; fixed in 2.1.4\n- github.com/pion/dtls (Go): affected all versions; fixed in 2.1.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-29189/ (Markdown: https://insights.sbomify.com/CVE-2022-29189/index.md)","id":"CVE-2022-29189","markdown":"https://insights.sbomify.com/CVE-2022-29189/index.md","name":"CVE-2022-29189","record":{"aliases":["DEBIAN-CVE-2022-29189","GHSA-cx94-mrg9-rq4j","GO-2022-0461","UBUNTU-CVE-2022-29189"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go DTLS library","requires_auth":"none","summary":"An attacker can cause excessive memory usage and denial of service by sending unlimited inbound DTLS fragments to the Pion DTLS library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dtls","vendor":"pion"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"Pion DTLS is a Go implementation of Datagram Transport Layer Security. Prior to version 2.1.4, a buffer that was used for inbound network traffic had no upper limit. Pion DTLS would buffer all network traffic from the remote user until the handshake completes or timed out. An attacker could exploit this to cause excessive memory usage. Version 2.1.4 contains a patch for this issue. There are currently no known workarounds available.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Buffer for inbound DTLS fragments has no limit","id":"CVE-2022-29189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":5,"n_references":3,"next":{"headline":"Header reconstruction method can be thrown into an infinite loop in Pion DTLS","id":"CVE-2022-29190"},"packages":[{"ecosystem":"Go","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pion/dtls","purl":null,"source":"GHSA-cx94-mrg9-rq4j"},{"ecosystem":"Go","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pion/dtls","purl":"pkg:golang/github.com/pion/dtls","source":"GHSA-cx94-mrg9-rq4j"},{"ecosystem":"Go","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pion/dtls/v2","purl":null,"source":"GHSA-cx94-mrg9-rq4j"},{"ecosystem":"Go","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pion/dtls/v2","purl":"pkg:golang/github.com/pion/dtls/v2","source":"GHSA-cx94-mrg9-rq4j"},{"ecosystem":"Go","fixed":["2.1.4"],"introduced":["0"],"last_affected":[],"package":"github.com/pion/dtls/v2","purl":"pkg:golang/github.com/pion/dtls/v2","source":"GO-2022-0461"}],"prev":{"headline":"Smokescreen SSRF via deny list bypass (square brackets) in Smokescreen","id":"CVE-2022-29188"},"products":["dtls"],"published":"2022-05-20","related":[{"cvss_score":9.8,"headline":"Improper Authenication in Pion DTLS","id":"CVE-2019-20786","kev_date_added":null,"published":"2020-04-19"},{"cvss_score":7.5,"headline":"Header reconstruction method can be thrown into an infinite loop in Pion DTLS","id":"CVE-2022-29190","kev_date_added":null,"published":"2022-05-20"},{"cvss_score":5.9,"headline":"Pion DTLS uses random nonce generation with AES GCM ciphers risks leaking the authentication key","id":"CVE-2026-26014","kev_date_added":null,"published":"2026-02-11"},{"cvss_score":5.9,"headline":"Improper Certificate Validation in Pion DTLS","id":"CVE-2022-29222","kev_date_added":null,"published":"2022-05-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["pion"]},"summary":"An attacker can cause excessive memory usage and denial of service by sending unlimited inbound DTLS fragments to the Pion DTLS library.","url":"https://insights.sbomify.com/CVE-2022-29189/"}