Skip to main content
← All vulnerabilities
CVE-2021-21404GHSA-X462-89PF-6R5HBIT-SYNCTHING-2021-21404GO-2022-0888

Crash due to malformed relay protocol message

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.15.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • syncthing syncthing

    fixed in 1.15.0

  • github.com/syncthing/syncthingGo

    fixed in 1.15.0

References 4

GitHub · syncthing/syncthing

pkg.go.dev