9.3 CRITICAL
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
Kiota: Command injection via x-ms-kiota-info dependencyInstallCommand surfaced by `kiota info`
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, `kiota info` read x-ms-kiota-info.languagesInformation.<language>.dependencyInstallCommand plus dependency name and version values from an OpenAPI description and presented the spec-supplied command as Kiota's recommended install command, allowing an attacker-controlled or compromised description to cause command injection when the suggested command was run manually or through the Kiota VS Code extension's kiota info --json dependency-install flow. This issue is fixed in version 1.32.5.
References
-
https://github.com/microsoft/kiota/security/advisories/GHSA-hq9q-27g5-qwpj x_refsource_CONFIRM
-
https://github.com/microsoft/kiota/pull/7883 x_refsource_MISC
-
https://github.com/microsoft/kiota/releases/tag/v1.32.5 x_refsource_MISC
Affected products
- ==< 1.32.5
Matching in nixpkgs
pkgs.python313Packages.microsoft-kiota-http
HTTP request adapter implementation for Kiota clients for Python
pkgs.python314Packages.microsoft-kiota-http
HTTP request adapter implementation for Kiota clients for Python
pkgs.python313Packages.microsoft-kiota-abstractions
Abstractions library for Kiota generated Python clients
pkgs.python314Packages.microsoft-kiota-abstractions
Abstractions library for Kiota generated Python clients
pkgs.python313Packages.microsoft-kiota-serialization-form
Form serialization implementation for Kiota clients in Python
pkgs.python313Packages.microsoft-kiota-serialization-json
JSON serialization implementation for Kiota clients in Python
pkgs.python313Packages.microsoft-kiota-serialization-text
Text serialization implementation for Kiota generated clients in Python
pkgs.python314Packages.microsoft-kiota-serialization-form
Form serialization implementation for Kiota clients in Python
pkgs.python314Packages.microsoft-kiota-serialization-json
JSON serialization implementation for Kiota clients in Python
pkgs.python314Packages.microsoft-kiota-serialization-text
Text serialization implementation for Kiota generated clients in Python
pkgs.python313Packages.microsoft-kiota-authentication-azure
Kiota Azure authentication provider
pkgs.python314Packages.microsoft-kiota-authentication-azure
Kiota Azure authentication provider
pkgs.python313Packages.microsoft-kiota-serialization-multipart
Multipart serialization implementation for Kiota clients in Python
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>