{"id":"EUVD-2021-1226","enisaUuid":"60bfbbc9-75bc-3aa9-81ac-1c8c8b223479","description":"Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field. Similarly, Syncthing itself can crash for the same reason if given a malformed message from a malicious relay server when attempting to join the relay. Relay joins are essentially random (from a subset of low latency relays) and Syncthing will by default restart when crashing, at which point it\u0027s likely to pick another non-malicious relay. This flaw is fixed in version 1.15.0.","datePublished":"Apr 6, 2021, 8:00:15 PM","dateUpdated":"Aug 3, 2024, 6:09:16 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h\nhttps://pkg.go.dev/github.com/syncthing/syncthing\nhttps://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97\nhttps://github.com/syncthing/syncthing/releases/tag/v1.15.0\n","aliases":"CVE-2021-21404\nGHSA-x462-89pf-6r5h\n","assigner":"GitHub_M","epss":1.97,"enisaIdProduct":[{"id":"30023f56-d98a-3a14-af2c-20147fc88438","product":{"name":"syncthing","vendor":{"name":"syncthing"}},"product_version":"\u003c 1.15.0"}],"enisaIdVendor":[{"id":"ec64c31b-9b6a-3760-b2c6-a2335fdd63b7","vendor":{"name":"syncthing"}}],"enisaIdVulnerability":[{"id":"319b79f1-f4ac-3cb8-8042-734970250e21","vulnerability":{"id":"CVE-2021-21404","description":"Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field. Similarly, Syncthing itself can crash for the same reason if given a malformed message from a malicious relay server when attempting to join the relay. Relay joins are essentially random (from a subset of low latency relays) and Syncthing will by default restart when crashing, at which point it\u0027s likely to pick another non-malicious relay. This flaw is fixed in version 1.15.0.","datePublished":"Apr 6, 2021, 8:00:15 PM","dateUpdated":"Aug 3, 2024, 6:09:16 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h\nhttps://pkg.go.dev/github.com/syncthing/syncthing\nhttps://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97\nhttps://github.com/syncthing/syncthing/releases/tag/v1.15.0\n","enisa_id":"EUVD-2021-1226\n","assigner":"GitHub_M","epss":1.97,"dataProcessed":"Nov 24, 2026, 7:26:19 AM","vulnerabilityProduct":[{"id":"d5280902-9b27-39dd-986e-3e553ee9f0f4","product":{"name":"syncthing","vendor":{"name":"syncthing"}},"product_version":"\u003c 1.15.0"}],"vulnerabilityVendor":[{"id":"f775008e-bc46-3445-bdeb-25d477048ad9","vendor":{"name":"syncthing"}}]}},{"id":"afa066c8-b017-3bb3-8268-a310eb1cf2fa","vulnerability":{"id":"GHSA-x462-89pf-6r5h","description":"Crash due to malformed relay protocol message","datePublished":"May 21, 2021, 4:23:17 PM","dateUpdated":"May 20, 2021, 8:52:26 PM","baseScore":null,"references":"https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-21404\nhttps://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97\nhttps://github.com/syncthing/syncthing/releases/tag/v1.15.0\nhttps://pkg.go.dev/github.com/syncthing/syncthing\n","enisa_id":"EUVD-2021-1226\n","aliases":"GHSA-x462-89pf-6r5h\nCVE-2021-21404\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"238b69d9-72cf-3db5-86a6-1fb99c95cffc","advisory":{"id":"openSUSE-SU-2024:11417-1","description":"syncthing-1.18.2-2.1 on GA media","summary":"syncthing-1.18.2-2.1 on GA media","datePublished":"Jun 15, 2024, 12:00:00 AM","dateUpdated":"Nov 15, 2026, 7:30:59 PM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2024/opensuse-su-2024_11417-1.json\nhttps://www.suse.com/security/cve/CVE-2021-21404/\n","aliases":"CVE-2021-21404\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"026b538e-e053-3b77-ac81-2840a3abb762","product":{"name":"syncthing-0:1.18.2-2.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"02af169c-f36a-3106-aa79-b24131865d86","product":{"name":"syncthing-relaysrv-0:1.18.2-2.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"14a9fb7c-7553-35d1-b424-7d779d47049d","product":{"name":"syncthing-relaysrv-0:1.18.2-2.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"248b34fe-c9c5-325a-adb1-c2d364f79e81","product":{"name":"syncthing-relaysrv-1.18.2-2.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"2bc793f2-c8da-3c65-9673-29f4ec5ffc18","product":{"name":"syncthing-relaysrv-1.18.2-2.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"2f1fa8ef-4876-3bcd-a0d5-a8606403edec","product":{"name":"syncthing-0:1.18.2-2.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"32b55a14-e1b8-34b2-ad77-018b0e31713f","product":{"name":"syncthing-relaysrv-0:1.18.2-2.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"56949e68-6719-37b0-8dfd-fc955fae579c","product":{"name":"syncthing-1.18.2-2.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"7f125a41-fffe-3d2f-9ce2-ba936307f86a","product":{"name":"syncthing-0:1.18.2-2.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"86ab4cc0-a968-3048-bc83-d5a1f9dbd463","product":{"name":"syncthing-1.18.2-2.1.s390x","vendor":{"name":"SUSE"}}},{"id":"8e8a7c67-e80b-30cd-b4ac-9d0fc4ca3c78","product":{"name":"syncthing-relaysrv-0:1.18.2-2.1.s390x","vendor":{"name":"SUSE"}}},{"id":"996b0e09-6552-3d71-87cc-c0f54fdb0d9d","product":{"name":"openSUSE Tumbleweed","vendor":{"name":"SUSE"}}},{"id":"b695e63d-34a0-3cfe-a2da-4e4cdaeda595","product":{"name":"syncthing-relaysrv-1.18.2-2.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"b7d51359-1193-30c3-97fc-991e4df517d0","product":{"name":"syncthing-1.18.2-2.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"ba54def1-1f8e-3706-9b15-cbf986dcffed","product":{"name":"syncthing-1.18.2-2.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"bff30193-ee36-3681-84c9-436e10b082ea","product":{"name":"syncthing-relaysrv-1.18.2-2.1.s390x","vendor":{"name":"SUSE"}}},{"id":"f499e4bf-7851-3359-a788-e1c154f94391","product":{"name":"syncthing-0:1.18.2-2.1.s390x","vendor":{"name":"SUSE"}}}]}},{"id":"c48afdac-967d-36d4-8b8c-8237651095fe","advisory":{"id":"openSUSE-SU-2021:0688-1","description":"Security update for syncthing","summary":"Security update for syncthing","datePublished":"May 8, 2021, 12:05:55 PM","dateUpdated":"Nov 15, 2026, 6:31:25 PM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2021/opensuse-su-2021_0688-1.json\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UIFNGMDOIZ3DQYLTSKXQFICFKTHWOLKM/\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/UIFNGMDOIZ3DQYLTSKXQFICFKTHWOLKM/\nhttps://bugzilla.suse.com/1184428\nhttps://www.suse.com/security/cve/CVE-2021-21404/\n","aliases":"CVE-2021-21404\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"0109641c-4585-37fd-bb68-871c2073a6f7","product":{"name":"syncthing-relaysrv-0:1.15.1-lp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"1e321cc9-cef6-3bf0-9114-27fdc9ef13f6","product":{"name":"syncthing-0:1.15.1-lp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"8d01ba06-890d-35fb-b6a5-e5b24a0fc7a3","product":{"name":"syncthing-1.15.1-lp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"b82f6a52-240a-3baa-b24e-30963caabe4f","product":{"name":"openSUSE Leap 15.2","vendor":{"name":"opensuse"}}},{"id":"c2d0698e-3183-380d-9493-ad5c750b54a7","product":{"name":"syncthing-relaysrv-1.15.1-lp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}}]}},{"id":"dbc63946-19e4-32fc-97f3-441e65c93158","advisory":{"id":"openSUSE-SU-2021:0713-1","description":"Security update for syncthing","summary":"Security update for syncthing","datePublished":"May 11, 2021, 6:05:34 PM","dateUpdated":"Nov 15, 2026, 6:31:35 PM","baseScore":0.0,"references":"https://ftp.suse.com/pub/projects/security/csaf/2021/opensuse-su-2021_0713-1.json\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NVATCVHED4EFGAZ3YBJASSPIHZFG5AC7/\nhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/NVATCVHED4EFGAZ3YBJASSPIHZFG5AC7/\nhttps://bugzilla.suse.com/1184428\nhttps://www.suse.com/security/cve/CVE-2021-21404/\n","aliases":"CVE-2021-21404\n","source":{"id":21,"name":"csaf_opensuse"},"advisoryProduct":[{"id":"0a525bcf-1b05-3fe8-8d03-d6459026e095","product":{"name":"syncthing-relaysrv-1.15.1-bp152.2.3.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"0fd1738f-8fe7-30dc-a197-16c4f75f1f75","product":{"name":"syncthing-1.15.1-bp152.2.3.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"1077fd3b-96c0-3dce-a37b-52d8b6b1157e","product":{"name":"syncthing-1.15.1-bp152.2.3.1.s390x","vendor":{"name":"SUSE"}}},{"id":"2eefcf25-1907-302d-b8ba-fa000be0184f","product":{"name":"syncthing-1.15.1-bp152.2.3.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"381e3305-f7e8-31bf-b56f-3bd9cc01f21c","product":{"name":"syncthing-1.15.1-bp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"4c27baba-ecb5-3b5a-9d0c-f0db253930b2","product":{"name":"syncthing-relaysrv-1.15.1-bp152.2.3.1.s390x","vendor":{"name":"SUSE"}}},{"id":"554e0fff-3702-3b3a-aa05-c3c9544f5fd0","product":{"name":"syncthing-0:1.15.1-bp152.2.3.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"804a006a-58db-33bd-9eda-5c52b088ef02","product":{"name":"syncthing-relaysrv-0:1.15.1-bp152.2.3.1.ppc64le","vendor":{"name":"SUSE"}}},{"id":"a0b4f3ca-2013-3b83-9cb6-1e1a2797be87","product":{"name":"syncthing-0:1.15.1-bp152.2.3.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"b006ada4-5612-301e-a85c-a832b6d5e196","product":{"name":"syncthing-relaysrv-0:1.15.1-bp152.2.3.1.s390x","vendor":{"name":"SUSE"}}},{"id":"c9b93829-4fb6-3f62-ae3d-722bae0312cd","product":{"name":"syncthing-relaysrv-1.15.1-bp152.2.3.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"d2f40cc7-2851-33cf-9153-fba3ac380743","product":{"name":"SUSE Package Hub 15 SP2","vendor":{"name":"SUSE"}}},{"id":"d3c76091-0d6e-315c-b3c2-8b1b63d6088c","product":{"name":"syncthing-relaysrv-0:1.15.1-bp152.2.3.1.aarch64","vendor":{"name":"SUSE"}}},{"id":"d42e7b29-5087-3ae5-94a6-7c080b1528fd","product":{"name":"syncthing-0:1.15.1-bp152.2.3.1.s390x","vendor":{"name":"SUSE"}}},{"id":"d459c849-0333-3162-adec-d27774a3e318","product":{"name":"syncthing-relaysrv-0:1.15.1-bp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"e5e3ed4d-7390-3377-8bbe-4eed8a086ff9","product":{"name":"syncthing-0:1.15.1-bp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}},{"id":"f64cfb98-a4ee-3f14-88f1-989a78a6b85a","product":{"name":"syncthing-relaysrv-1.15.1-bp152.2.3.1.x86_64","vendor":{"name":"SUSE"}}}]}}]}