Vulnerabilities in pkg:golang/atomys.codes/stud42

PACKAGE
Advisory Summary

GHSA-3hwm-922r-47hw is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Atomys.codes/stud42 libraries in the Go ecosystem. The issue involves stud42 vulnerable to denial of service. Remediation is available by upgrading affected packages to version 0.23.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/atomys.codes/stud42

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/atomys.codes/stud42. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3hwm-922r-47hw - HIGH Stud42 vulnerable to denial of service

GHSA-3hwm-922r-47hw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3hwm-922r-47hw
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Atomys.codes/stud42
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-3hwm-922r-47hw

To remediate this vulnerability, upgrade all affected Atomys.codes/stud42 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

atomys.codes/stud42 fixed: 0.23.0
Upgrade atomys.codes/stud42 to 0.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for atomys.codes/stud42

How to Check if You Are Affected

To determine whether your application is affected by GHSA-3hwm-922r-47hw, inspect your project dependencies for Atomys.codes/stud42:

inspect dependencies for atomys.codes/stud42

Analyze the terminal output to locate any version of Atomys.codes/stud42 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Atomys.codes/stud42, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

GHSA-3hwm-922r-47hw Affected Atomys.codes/stud42 Versions

1 component(s)
Fixed Versions:
0.23.0
Product / Package Ecosystem Affected Versions Fixed Version
atomys.codes/stud42
Go
< 0.23.0
0.23.0

References

Frequently Asked Questions

What is GHSA-3hwm-922r-47hw?
GHSA-3hwm-922r-47hw is a security vulnerability in Atomys.codes/stud42 involving Stud42 vulnerable to denial of service under CWE-400: Uncontrolled Resource Consumption.
Which Atomys.codes/stud42 versions are affected?
Affected versions include releases prior to 0.23.0 across affected packages: atomys.codes/stud42.
What version fixes GHSA-3hwm-922r-47hw?
Upgrading to 0.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is atomys.codes/stud42 affected?
Yes, atomys.codes/stud42 is affected in releases prior to 0.23.0. Upgrade your dependency to 0.23.0 or later.
What is the CVSS score of GHSA-3hwm-922r-47hw?
GHSA-3hwm-922r-47hw has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-3hwm-922r-47hw?
GHSA-3hwm-922r-47hw is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for GHSA-3hwm-922r-47hw?
Run the dependency tree command: 'inspect dependencies for atomys.codes/stud42'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3hwm-922r-47hw",
  "modified" : "2023-04-25T23:06:52Z",
  "published" : "2023-03-31T19:33:44Z",
  "aliases" : [ ],
  "summary" : "Stud42 vulnerable to denial of service",
  "details" : "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.\n\nAn 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "atomys.codes/stud42"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/42Atomys/stud42/security/advisories/GHSA-3hwm-922r-47hw"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/42Atomys/stud42/issues/412"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/42Atomys/stud42/commit/a70bfc72fba721917bf681d72a58093fb9deee17"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/42Atomys/stud42"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-31T19:33:44Z",
    "nvd_published_at" : null
  }
}