GitHub Advisoryadvisory · Go

GHSA-3hwm-922r-47hw Stud42 vulnerable to denial of service

HIGH Published 2023-03-31 Modified 2023-04-25 Official page ↗
Ecosystem
Go
Packages
atomys.codes/stud42
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2023-03-31

Affected packages

• Go atomys.codes/stud42: < 0.23.0 → fixed in 0.23.0

Description

A security vulnerability has been identified in the GraphQL parser used by the API of s42.app. An attacker can overload the parser and cause the API pod to crash. With a bit of threading, the attacker can bring down the entire API, resulting in an unhealthy stream. This vulnerability can be exploited by sending a specially crafted request to the API with a large payload. An attacker can exploit this vulnerability to cause a denial of service (DoS) attack on the s42.app API, resulting in unavailability of the API for legitimate users.

Related

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References