CVE-2023-38684
NixOS vulnerability analysis and mitigation

Overview

Discourse, an open source discussion platform, was found to have a vulnerability (CVE-2023-38684) where multiple controller actions accepted limit parameters without imposing upper bounds. The vulnerability affected versions prior to 3.0.6 of the 'stable' branch and version 3.1.0.beta7 of the 'beta' and 'tests-passed' branches. This security issue was disclosed on July 28, 2023 (NVD, GitHub Advisory).

Technical details

The vulnerability stems from the lack of upper bounds on limit parameters in multiple controller actions. Without these bounds, the application would accept arbitrary values for database query limits. The issue received a CVSS v3.1 Base Score of 7.5 (HIGH) from NVD and 5.3 (MEDIUM) from GitHub, with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling) (NVD).

Impact

The vulnerability could allow arbitrary users to generate database queries that may exhaust server resources, potentially leading to a denial of service condition. The impact primarily affects the availability of the system, with no direct effect on confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 3.0.6 of the 'stable' branch and version 3.1.0.beta7 of the 'beta' and 'tests-passed' branches. The fix introduced a new 'fetch_limit_from_params' helper method in 'ApplicationController' that enforces safe limits on parameter values. No workarounds are available for this vulnerability, and users are advised to upgrade to the patched versions (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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