CVE catalog

CVE-2021-21404

syncthing: CVE-2021-21404

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.97% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansyncthingsid1.29.5~ds1-5fixed
Debiansyncthingforky1.29.5~ds1-5fixed
Debiansyncthingtrixie1.29.5~ds1-2fixed
Debiansyncthingbookworm1.19.2~ds1-1fixed
Opensusesyncthingleap 15.21.15.1-lp152.2.3.1fixed
Opensusesyncthingtumbleweed1.18.2-2.1fixed
Susesyncthingpackage hub 15 sp21.15.1-bp152.2.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansyncthingsourcesid1.12.1~ds1-3not yet assignedNot reported[986593]
Debiansyncthingsourceforky1.12.1~ds1-3not yet assignedNot reported[986593]
Debiansyncthingsourcetrixie1.12.1~ds1-3not yet assignedNot reported[986593]
Debiansyncthingsourcebookworm1.12.1~ds1-3not yet assignedNot reported[986593]
Opensusesyncthingrpmleap 15.21.15.1-lp152.2.3.1Not reportedOPENSUSE-SU-2021:0688-1Not reported
Opensusesyncthingrpmtumbleweed1.18.2-2.1Not reportedOPENSUSE-SU-2024:11417-1Not reported
Susesyncthingrpmpackage hub 15 sp21.15.1-bp152.2.3.1Not reportedOPENSUSE-SU-2021:0713-1Not reported

[Debian bug #986593]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [syncthing]

    Details (1)
    • 2.1.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.18.2-2.1

      Version impact unknown

      dsa · syncthing · opensuse · tumbleweed

  • [syncthing]Fixed

    Source package: [syncthing]

    Details (1)
    • 2.1.3-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.18.2-2.1

      dsa · syncthing · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [syncthing]

    Details (2)
    • 1.19.2~ds1-1 · all · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

    • 1.19.2~ds1-1 · all · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

  • [syncthing]Fixed

    Source package: [syncthing]

    Details (2)
    • 1.19.2~ds1-1+b4 · amd64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

    • 1.19.2~ds1-1+b4 · arm64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

  • Source package: [syncthing]

    Details (2)
    • 1.19.2~ds1-1+b4 · amd64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

    • 1.19.2~ds1-1+b4 · arm64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

  • Source package: [syncthing]

    Details (2)
    • 1.19.2~ds1-1+b4 · amd64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

    • 1.19.2~ds1-1+b4 · arm64 · bookworm

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · bookworm; dsa · syncthing · debian · 12

[Debian 13 (Trixie)]

  • Source package: [syncthing]

    Details (2)
    • 1.29.5~ds1-2 · all · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

    • 1.29.5~ds1-2 · all · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

  • [syncthing]Fixed
    Details (2)
    • 1.29.5~ds1-2 · amd64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

    • 1.29.5~ds1-2 · arm64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

  • Source package: [syncthing]

    Details (2)
    • 1.29.5~ds1-2 · amd64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

    • 1.29.5~ds1-2 · arm64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

  • Source package: [syncthing]

    Details (2)
    • 1.29.5~ds1-2 · amd64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

    • 1.29.5~ds1-2 · arm64 · trixie

      Fixed · Fixed: 1.12.1~ds1-3

      dsa · syncthing · debian · 13

Observed:

References