Vulnerability · Published Mar 22, 2022 · Assigned by GitHub_M
CVE-2022-24774Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server
High 7.1
In plain English
A high-severity improper input validation in cyclonedx-bom-repo-server from CycloneDX. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 73% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| CycloneDX | cyclonedx-bom-repo-server | < 2.0.1 |
Weakness: CWE-20, CWE-35 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/security/advisories/GHSA-6c74-9588-wq9j x_refsource_CONFIRM
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/commit/001a3278b5572e52c0ecac0bd1157bf2599502b7 x_refsource_MISC
- https://github.com/CycloneDX/cyclonedx-bom-repo-server/releases/tag/v2.0.1 x_refsource_MISC