9.6 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): NONE
Activity log
- Created suggestion
OpenC3 COSMOS: SQL Injection in QuestDB Time-Series Data Base
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From version 6.7.0 to before version 7.0.0-rc3, a SQL injection vulnerability exists in the Time-Series Database (TSDB) component of COSMOS. The tsdb_lookup function in the cvt_model.rb file directly places user-supplied input into a SQL query without sanitizing the input. As a result, a user can break out of the initial SQL statement and execute arbitrary SQL commands, including deleting data. This issue has been patched in version 7.0.0-rc3.
References
-
https://github.com/OpenC3/cosmos/security/advisories/GHSA-v529-vhwc-wfc5 x_refsource_CONFIRM
-
https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 x_refsource_MISC
Affected products
- ==>= 6.7.0, < 7.0.0-rc3
Matching in nixpkgs
pkgs.python312Packages.azure-cosmos
Azure Cosmos DB API
pkgs.python313Packages.azure-cosmos
Azure Cosmos DB API
pkgs.python314Packages.azure-cosmos
Azure Cosmos DB API
pkgs.azure-cli-extensions.cosmosdb-preview
Microsoft Azure Command-Line Tools Cosmosdb-preview Extension
pkgs.python312Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python313Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python314Packages.azure-mgmt-cosmosdb
Module to work with the Microsoft Azure Cosmos DB Management
pkgs.python312Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python312Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
pkgs.python313Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python313Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
pkgs.python314Packages.azure-cosmosdb-nspkg
This is the Microsoft Azure CosmosDB namespace package
pkgs.python314Packages.azure-cosmosdb-table
This is the Microsoft Azure Log Analytics Client Library
Package maintainers
-
@katexochen Paul Meyer <katexochen0@gmail.com>
-
@mwilsoncoding Max Wilson <nixpkgs@maxwilson.dev>