What’s Vulnerable › Vulnerabilities
CVE-2022-24774: Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-03-22 · updated 2026-06-17
- Weakness: CWE-20
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 products
- cyclonedx-bom-repo-server: before 2.0.1 — fixed in 2.0.1
How to fix
Upgrade to a fixed version: cyclonedx-bom-repo-server 2.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/commit/001a3278b5572e52c0ecac0bd1157bf2599502b7
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/releases/tag/v2.0.1
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/security/advisories/GHSA-6c74-9588-wq9j
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/commit/001a3278b5572e52c0ecac0bd1157bf2599502b7
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/releases/tag/v2.0.1
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/security/advisories/GHSA-6c74-9588-wq9j
Get alerted when CVE-2022-24774 or the next vulnerability affects your stack