CVE-2023-37279
JSON

7.5high

Faktory Web Dashboard can lead to denial of service(DOS) via malicious user input

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.92% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-x4hh-vjm7-g2jvGO-2023-2067

Description

Faktory is a language-agnostic persistent background job server. Prior to version 1.8.0, the Faktory web dashboard can suffer from denial of service by a crafted malicious url query param `days`. The vulnerability is related to how the backend reads the `days` URL query parameter in the Faktory web dashboard. The value is used directly without any checks to create a string slice. If a very large value is provided, the backend server ends up using a significant amount of memory and causing it to crash. Version 1.8.0 fixes this issue.

Affected

Product or packageVersionsReported by
contribsys faktory< 1.8.0, before 1.8.0CVE List, NVD
github.com/contribsys/faktory (Go)before 1.8.0GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770CWE-789

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Faktory is a language-agnostic persistent background job server. Prior to version 1.8.0, the Faktory web dashboard can suffer from denial of service by a crafted malicious url query param `days`. The vulnerability is related to how the backend reads the `days` URL query parameter in the Faktory web dashboard. The value is used directly without any checks to create a string slice. If a very large value is provided, the backend server ends up using a significant amount of memory and causing it to crash. Version 1.8.0 fixes this issue.

GitHub Advisory Database
Summary

Faktory web dashboard can suffer from denial of service by a crafted malicious url query param days.

Details

The vulnerability is related to how the backend reads the days URL query parameter in the Faktory web dashboard. The value is used directly without any checks to create a string slice. If a very large value is provided, the backend server ends up using a significant amount of memory and causing it to crash.

PoC

To reproduce this vulnerability, please follow these steps:

Start the Faktory Docker and limit memory usage to 512 megabytes for better demonstration:

$ docker run --rm -it -m 512m \
  -p 127.0.0.1:7419:7419 \
  -p 127.0.0.1:7420:7420 \
  contribsys/faktory:latest

Send the following request. The Faktory server will exit after a few seconds due to out of memory:

$ curl 'http://localhost:7420/?days=922337'
Impact

Server Availability: The vulnerability can crash the Faktory server, affecting its availability. Denial of Service Risk: Given that the Faktory web dashboard does not require authorization, any entity with internet access to the dashboard could potentially exploit this vulnerability. This unchecked access opens up the potential for a Denial of Service (DoS) attack, which could disrupt service availability without any conditional barriers to the attacker.

Go Vulnerability Database

Faktory Web Dashboard can lead to denial of service(DOS) via malicious user input in github.com/contribsys/faktory

NVD (es)

Faktory es un servidor de trabajos en segundo plano persistente e independiente del idioma. Antes de la versión 1.8.0, el panel web de Faktory podía sufrir una Denegación de Servicio debido a un parámetro de consulta de URL malicioso manipulado `days`. La vulnerabilidad está relacionada con la forma en que el backend lee el parámetro de consulta de URL `days` en el panel web de Faktory. El valor se usa directamente sin ninguna verificación para crear un segmento de cadena. Si se proporciona un valor muy grande, el servidor backend termina usando una cantidad significativa de memoria y provocando que falle. La versión 1.8.0 soluciona este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-37279 changed 2024-09-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-x4hh-vjm7-g2jv changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-2067 changed 2026-03-03CC-BY-4.0
NVDCVE-2023-37279 changed 2026-06-17Public domain