漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping
Vulnerability Description
KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to 2.20.0, pkg/scalers/postgresql_scaler.go constructs libpq-style connection strings from tenant-controlled host, port, userName, dbName, sslmode, and password values, while escapePostgreConnectionParameter() only quotes values containing a literal space. Tabs, newlines, carriage returns, form feeds, vertical tabs, quotes, and backslashes can therefore create additional key-value tokens when pgx parses the string. An attacker able to create or modify a TriggerAuthentication or ScaledObject can inject host or sslmode parameters, redirect the database connection to an attacker-controlled server, expose credentials, or disable intended TLS protection. This issue is fixed in version 2.20.0.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Vulnerability Title
KEDA 输入验证错误漏洞
Vulnerability Description
KEDA是KEDA组织的一款事件驱动的自动缩放组件。 KEDA 2.20.0之前版本存在安全漏洞,该漏洞源于postgresql_scaler.go中构造libpq风格连接字符串时特殊字符转义不完整,可能导致攻击者通过创建或修改TriggerAuthentication或ScaledObject注入host或sslmode参数,重定向数据库连接到攻击者控制的服务器,暴露凭据或禁用TLS保护。
CVSS Information
N/A
Vulnerability Type
N/A