Vulnerability DatabaseGHSA-3hwm-922r-47hw

GHSA-3hwm-922r-47hw
vulnerability analysis and mitigation

Overview

A high-severity security vulnerability (GHSA-3hwm-922r-47hw) was identified in the GraphQL parser used by the API of s42.app, affecting versions <=v0.22.2 of the atomys.codes/stud42 Go package. The vulnerability was discovered on March 24, 2023, and publicly disclosed on March 28, 2023. The issue was patched in version v0.23.0 (GitHub Advisory).

Technical details

The vulnerability allows attackers to overload the GraphQL parser by sending specially crafted requests with large payloads containing excessive consecutive directives. The issue received a CVSS v3.1 score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) (GitHub Advisory).

Impact

When exploited, this vulnerability can cause the API pod to crash, and with threading, an attacker can potentially bring down the entire API service. This results in a denial of service (DoS) condition, making the API unavailable for legitimate users (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version v0.23.0 by implementing a request body size limit of 50KB to prevent possible DoS attacks. The fix includes adding a middleware that checks and limits the maximum content length accepted by the application (Patch Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management