Missing Authorization Affecting github.com/lin-snow/ech0/internal/middleware package, versions <4.7.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMLINSNOWECH0INTERNALMIDDLEWARE-16634931
  • published11 May 2026
  • disclosed7 May 2026
  • creditadrgs

Introduced: 7 May 2026

CVE NOT AVAILABLE CWE-770  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/lin-snow/Ech0/internal/middleware to version 4.7.3 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization through the PUT /api/echo/like/:id endpoint, which lacks authentication and rate limiting. An attacker can manipulate the fav_count of any echo, including private ones, by sending repeated requests without deduplication, leading to inflated popularity metrics and increased server and cache load.

CVSS Base Scores

version 4.0
version 3.1