ADVISORIES

Alpine Security Database

ALPINE-CVE-2021-21404

Details

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 packages

EcosystemPackageAffected versions
Alpine:v3.13syncthing
All versions before 1.12.1-r1 (fixed in 1.12.1-r1)
Alpine:v3.14syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.15syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.16syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.17syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.18syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.19syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.20syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.21syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.22syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.23syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)
Alpine:v3.24syncthing
All versions before 1.15.1-r0 (fixed in 1.15.1-r0)

References