---
id: CVE-2021-21403
aliases:
  - GHSA-8wrg-m8vm-5fvj
title: Authentication Bypass by Primary Weakness in github.com/kongchuanhujiao/server
summary: Authentication Bypass by Primary Weakness in github.com/kongchuanhujiao/server
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: kongchuanhujiao
product: github.com/kongchuanhujiao/server
ecosystem: go
affected:
  - github.com/kongchuanhujiao/server < 1.3.21
patched:
  - github.com/kongchuanhujiao/server 1.3.21
published: '2022-02-15'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8wrg-m8vm-5fvj'
references:
  - url: >-
      https://github.com/kongchuanhujiao/server/security/advisories/GHSA-8wrg-m8vm-5fvj
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-21403'
  - url: >-
      https://github.com/kongchuanhujiao/server/commit/9a125624f219e496bdf4b07b404816d5a309bdc1
tags:
  - osv
  - go
epss: 0.01359
epssPercentile: 0.7053
ingestedAt: '2026-07-09T18:56:36.252Z'
---

## Overview

### Impact

Authentication Bypass by Primary Weakness (CWE-305)

Commit:

https://github.com/kongchuanhujiao/server/commit/9a125624f219e496bdf4b07b404816d5a309bdc1

ALL Users  is impacted.

### Patches

Yes, PLEASE UPGRADE TO v1.3.21-beta.d0ffc0a6

## Affected packages

- `github.com/kongchuanhujiao/server < 1.3.21`

## Remediation

Upgrade to a patched release:

- `github.com/kongchuanhujiao/server 1.3.21`
