CVE-2022-24774 Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| CycloneDX bill of materials repository server | < 2.0.1 | 2.0.1 | Fixed |
| cyclonedx-bom-repo-server | = < 2.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cyclonedx-bom-repo-server | = < 2.0.1 | No fix listed |
| CycloneDX bill of materials repository server | < 2.0.1 | 2.0.1 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory