7.0 HIGH
- 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): Active (A)
- Vulnerable System Impact Confidentiality (VC): Low (L)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): Low (L)
- 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): Active (A)
- Modified Vulnerable System Impact Confidentiality (MVC): Low (L)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): Low (L)
- 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: Workspace-config poisoning: out-of-repo file write + generation-time SSRF
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, Kiota honored a poisoned .kiota/workspace.json workspace configuration without validating per-client or per-plugin outputPath values during kiota client generate and kiota plugin generate, allowing a malicious repository or pull request to use absolute paths, rooted POSIX / paths, UNC \\ or // paths, Windows drive X:\ paths, or .. traversal segments to write generated client files outside the workspace root on a developer or CI host. This issue is fixed in version 1.32.5.
References
-
https://github.com/microsoft/kiota/security/advisories/GHSA-4rj6-vrwv-wr8m x_refsource_CONFIRM
-
https://github.com/microsoft/kiota/pull/7885 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>