Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Crash due to malformed relay protocol message

CVSS 3.1 7.5 HIGHEUVD CVSS 3.1 7.5 CVSS 3.1 · [email protected] · Secondary 7.5 HIGHCVSS 3.1 · [email protected] · Primary 7.5 HIGHCVSS 2.0 · [email protected] · Primary 5.0 MEDIUMCVSS_V3 Publisher rating LOWFixed by github.com/syncthing/syncthing 1.15.0osv · severity unknownFixed by github.com/syncthing/syncthing 1.15.0KEV status unknown

cve-program · CVE-2021-21404

Published

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.

Read the publisher's advisory

euvd · EUVD-2021-1226

Published

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.

Read the publisher's advisory

nvd · CVE-2021-21404

Published

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.

Read the publisher's advisory

osv · GHSA-x462-89pf-6r5h

Published

### Impact 1. `syncthing` can be caused to crash and exit if sent a malformed relay protocol message message with a negative length field. 2. The relay server `strelaysrv` can be caused to crash and exit if sent a malformed relay protocol message with a negative length field. At no point is sensitive data exposed or liable to be altered due to this issue. Sensitive data is never exposed to relay operators. Syncthing itself would need to be lured to connect to a malicious relay server in order to exploit the issue. ### Patches Fixed in version 1.15.0. ### Workarounds 1. No known workaround for `strelaysrv`. 2. `syncthing` can be configured to not use relays, or to only use specific, trusted relays. If Syncthing is used in a closed environment or with relaying disabled, i.e., it does not communicate with unknown relays, Syncthing is not vulnerable. ### For more information If you have any questions or comments about this advisory, please discuss it [on the forum](https://forum.syncthing.net/). Thanks to Wojciech Paciorek for discovering and reporting this issue.

Read the publisher's advisory

osv · GO-2022-0888

Published

Crash due to malformed relay protocol message in github.com/syncthing/syncthing

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-21404

Published

syncthing

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "syncthing",
                    "vendor": "syncthing",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 1.15.0"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2021-1226

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 6, 2021, 8:00:15 PM

dateUpdated: Aug 3, 2024, 6:09:16 PM

3 related source bulletins · separate from aliases

openSUSE-SU-2024:11417-1: syncthing-1.18.2-2.1 on GA media

CVE-2021-21404

openSUSE-SU-2021:0688-1: Security update for syncthing

CVE-2021-21404

openSUSE-SU-2021:0713-1: Security update for syncthing

CVE-2021-21404

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-21404

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-20

Original publisher date fields

published: 2021-04-06T20:15:13.490

lastModified: 2026-06-17T03:35:30.003

1 source CPE criteria · context only
  • cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-x462-89pf-6r5h

Published

github.com/syncthing/syncthing

Go

SEMVER · introduced 0 → fixed 1.15.0

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2022-0888

Published

github.com/syncthing/syncthing

Go

SEMVER · introduced 0 → fixed 1.15.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current