Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-x462-89pf-6r5h

Опубликовано: 21 мая 2021
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Crash due to malformed relay protocol message

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.

Thanks to Wojciech Paciorek for discovering and reporting this issue.

Пакеты

Наименование

github.com/syncthing/syncthing

go
Затронутые версииВерсия исправления

< 1.15.0

1.15.0

EPSS

Процентиль: 76%
0.00918
Низкий

7.5 High

CVSS3

Дефекты

CWE-20

Связанные уязвимости

CVSS3: 7.5
ubuntu
почти 5 лет назад

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.

CVSS3: 7.5
nvd
почти 5 лет назад

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.

CVSS3: 7.5
debian
почти 5 лет назад

Syncthing is a continuous file synchronization program. In Syncthing b ...

suse-cvrf
больше 4 лет назад

Security update for syncthing

EPSS

Процентиль: 76%
0.00918
Низкий

7.5 High

CVSS3

Дефекты

CWE-20