Username Enumeration Vulnerability in @sync-in/server: Timing Attack Exploit

@sync-in/server Updated 15 Apr 2026

Summary

15/04/2026
MODERATE
Yes i
Moderate
6.9

GHSA-43fj-qp3h-hrh5: Sync-in Server has Username Enumeration via Timing Attack. Affects @sync-in/server versions < 2.2.0. Fixed in 2.2.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @sync-in/server package is a backend service designed for user authentication and management within applications. It provides APIs for user login, registration, and profile management. However, it is susceptible to a timing attack that allows attackers to enumerate valid usernames by analyzing response times from the authentication endpoint.

Vulnerability Detail

The vulnerability arises from a logic flaw in the /api/auth/login endpoint, where the application returns responses at different times based on whether the username exists. Valid usernames trigger a response time of approximately 350-400ms, while invalid usernames return responses in about 95-100ms. This discrepancy allows attackers to infer valid usernames through timing analysis, significantly weakening the application's security and facilitating targeted brute-force attacks.

How To Fix

Latest published version: 2.6.0 as of 23 Oct 2026

npm install @sync-in/server@2.6.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.2.0

This is the first release that contains the fix.

npm install @sync-in/server@2.2.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, implement rate limiting on the /api/auth/login endpoint to reduce the effectiveness of timing attacks. Additionally, consider adding a uniform delay for all responses from the endpoint, regardless of whether the username is valid or not.

Conclusion

The @sync-in/server package has a significant vulnerability that allows for username enumeration through timing attacks. It is crucial to update to the patched version 2.2.0 or later to mitigate this risk. Implementing workarounds such as rate limiting and uniform response delays can also help enhance security until the update is applied.

See every vulnerability recorded for @sync-in/server →

Share this vulnerability

FAQ

A timing attack is a type of side-channel attack where an attacker gains information about a system by measuring the time it takes to execute cryptographic algorithms or responses to requests.

An attacker can exploit this vulnerability by sending multiple login requests with different usernames and measuring the response times to determine which usernames are valid.

The consequences include unauthorized access attempts, targeted brute-force attacks, and increased risk of social engineering attacks against valid users.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

The CVSS score of this vulnerability is 6.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for @sync-in/server.

How To Fix

Latest published version: 2.6.0 as of 23 Oct 2026

npm install @sync-in/server@2.6.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.2.0

This is the first release that contains the fix.

npm install @sync-in/server@2.2.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback