{"url":"http://public2.vulnerablecode.io/api/packages/43952?format=json","purl":"pkg:deb/debian/golang-github-flynn-noise@1.1.0-1?distro=trixie","type":"deb","namespace":"debian","name":"golang-github-flynn-noise","version":"1.1.0-1","qualifiers":{"distro":"trixie"},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/156282?format=json","vulnerability_id":"VCID-dcaj-ya1q-dfc2","summary":"The Noise protocol implementation suffers from weakened cryptographic security after encrypting 2^64 messages, and a potential denial of service attack. After 2^64 (~18.4 quintillion) messages are encrypted with the Encrypt function, the nonce counter will wrap around, causing multiple messages to be encrypted with the same key and nonce. In a separate issue, the Decrypt function increments the nonce state even when it fails to decrypt a message. If an attacker can provide an invalid input to the Decrypt function, this will cause the nonce state to desynchronize between the peers, resulting in a failure to encrypt all subsequent messages.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4239","reference_id":"","reference_type":"","scores":[{"value":"0.00126","scoring_system":"epss","scoring_elements":"0.31368","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4239"},{"reference_url":"https://github.com/flynn/noise","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/flynn/noise"},{"reference_url":"https://github.com/flynn/noise/commit/2499bf1bad239a8316c32932a993642350b3afdb","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/flynn/noise/commit/2499bf1bad239a8316c32932a993642350b3afdb"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4239","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4239"},{"reference_url":"https://github.com/flynn/noise/pull/44","reference_id":"44","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T16:59:11Z/"}],"url":"https://github.com/flynn/noise/pull/44"},{"reference_url":"https://pkg.go.dev/vuln/GO-2022-0425","reference_id":"GO-2022-0425","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T16:59:11Z/"}],"url":"https://pkg.go.dev/vuln/GO-2022-0425"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/43951?format=json","purl":"pkg:deb/debian/golang-github-flynn-noise@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-flynn-noise@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/43950?format=json","purl":"pkg:deb/debian/golang-github-flynn-noise@1.0.0-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-flynn-noise@1.0.0-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/43952?format=json","purl":"pkg:deb/debian/golang-github-flynn-noise@1.1.0-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-flynn-noise@1.1.0-1%3Fdistro=trixie"}],"aliases":["CVE-2021-4239","GHSA-6cr6-fmvc-vw2p"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-dcaj-ya1q-dfc2"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-github-flynn-noise@1.1.0-1%3Fdistro=trixie"}