CVE-2022-24774
JSON

7.1high

Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
1.45% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

CycloneDX BOM Repository Server is a bill of materials (BOM) repository server for distributing CycloneDX BOMs. CycloneDX BOM Repository Server before version 2.0.1 has an improper input validation vulnerability leading to path traversal. A malicious user may potentially exploit this vulnerability to create arbitrary directories or a denial of service by deleting arbitrary directories. The vulnerability is resolved in version 2.0.1. The vulnerability is not exploitable with the default configuration with the post and delete methods disabled. This can be configured by modifying the `appsettings.json` file, or alternatively, setting the environment variables `ALLOWEDMETHODS__POST` and `ALLOWEDMETHODS__DELETE` to `false`.

Affected

Product or packageVersionsReported by
CycloneDX cyclonedx-bom-repo-server< 2.0.1CVE List
cyclonedx bill_of_materials_repository_serverbefore 2.0.1NVD

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:P

Classification

CWE-20CWE-22CWE-35

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

CycloneDX BOM Repository Server is a bill of materials (BOM) repository server for distributing CycloneDX BOMs. CycloneDX BOM Repository Server before version 2.0.1 has an improper input validation vulnerability leading to path traversal. A malicious user may potentially exploit this vulnerability to create arbitrary directories or a denial of service by deleting arbitrary directories. The vulnerability is resolved in version 2.0.1. The vulnerability is not exploitable with the default configuration with the post and delete methods disabled. This can be configured by modifying the `appsettings.json` file, or alternatively, setting the environment variables `ALLOWEDMETHODS__POST` and `ALLOWEDMETHODS__DELETE` to `false`.

NVD (es)

CycloneDX BOM Repository Server es un servidor de repositorio de listas de materiales (BOM) para distribuir CycloneDX BOMs. CycloneDX BOM Repository Server versiones anteriores a 2.0.1, presenta una vulnerabilidad de comprobación de entrada inapropiada que conlleva a un salto de ruta. Un usuario malicioso puede explotar potencialmente esta vulnerabilidad para crear directorios arbitrarios o una denegación de servicio al eliminar de directorios arbitrarios. La vulnerabilidad ha sido resuelta en versión 2.0.1. La vulnerabilidad no es explotable con la configuración por defecto con los métodos de publicación y borrado deshabilitados. Esto puede ser configurado al modificar el archivo "appsettings.json", o alternativamente, estableciendo las variables de entorno "ALLOWEDMETHODS__POST" y "ALLOWEDMETHODS__DELETE" a "false"

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24774 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-24774 changed 2026-06-17Public domain