CVE-2022-24774

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

State
Published
Severity
7.1 High
Published
Mar 22, 2022
Updated
Apr 23, 2025
Reserved
Feb 10, 2022

Read the record on cve.org

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`.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-35 Path Traversal: '.../...//'

Affected Products

ProductVersions
cyclonedx-bom-repo-serverCycloneDX
  • < 2.0.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.