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 package | Versions | Reported by |
|---|---|---|
| CycloneDX cyclonedx-bom-repo-server | < 2.0.1 | CVE List |
| cyclonedx bill_of_materials_repository_server | before 2.0.1 | NVD |
All scores
| GitHub_M | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:P |
Classification
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
| https://github.com/CycloneDX/cyclonedx-bom-repo-server/security/advisories/GHSA-6c74-9588-wq9j | third-party-advisory | |
| https://github.com/CycloneDX/cyclonedx-bom-repo-server/commit/001a3278b5572e52c0ecac0bd1157bf2599502b7 | patch, third-party-advisory | |
| https://github.com/CycloneDX/cyclonedx-bom-repo-server/releases/tag/v2.0.1 | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24774 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-24774 changed 2026-06-17 | Public domain |