{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21404","published":"2021-04-06T20:15:13.490000Z","last_modified":"2026-06-17T03:35:30.003000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:*","part":"a","vendor":"syncthing","product":"syncthing","version_end_excluding":"1.15.0"}],"cpes_truncated":false,"vendors":["syncthing"],"products":["syncthing/syncthing"],"epss":{"score":0.0197,"percentile":0.81097,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x462-89pf-6r5h","ecosystem":"Go","name":"github.com/syncthing/syncthing","purl":"pkg:golang/github.com/syncthing/syncthing","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0888","ecosystem":"Go","name":"github.com/syncthing/syncthing","purl":"pkg:golang/github.com/syncthing/syncthing","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-21404/","html_en":"/en/cve/CVE-2021-21404/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21404","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21404"},"untrusted":{"vendor_name":"Syncthing","product_name":"Syncthing","desc_en":"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's likely to pick another non-malicious relay. This flaw is fixed in version 1.15.0.","affected":[{"untrusted_vendor":"syncthing","untrusted_product":"syncthing","versions":[]}],"references":[{"url":"https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/syncthing/syncthing/releases/tag/v1.15.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h","tags":["Third Party Advisory"]},{"url":"https://pkg.go.dev/github.com/syncthing/syncthing","tags":["Product","Third Party Advisory"]}]}}