VDB

CVE-2021-21404

CVE-2021-21404 PUBLISHED CVSS 7.5 HIGH

Crash due to malformed relay protocol message

Reported by github_m · Published April 6, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
syncthingArch Linux1.15.1-1

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
syncthingsyncthing< 1.15.0
syncthingsyncthing0

Timeline

  • Apr 6, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • May 20, 2021 CVE Updated
  • Mar 26, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-21404
vulnetix vdb fixes CVE-2021-21404

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21404/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›