
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
Every port's database URL redaction (and the node graph/MQTT error paths) prints the password in clear when the URL has a shape the redaction regex does not expect. The password then lands in startup logs, connection errors and exception messages. Checked on v3 3.13.159 (py c023c2df, php e27ddb77, rb 0d06ee2, nd ad0be87); the redaction code is unchanged since 3.13.158.
Shapes that leak (password Pq1Rs2, any scheme), on at least one port each:
/, ?, #, @, % or a space: postgres://u:Pq1/Rs2@host/dbpostgres:/u:Pq1Rs2@host/db, postgres//u:Pq1Rs2@host/dbpostgres://u:Pq1Rs2, postgres://u:Pq1/Rs2postgres://u:Pq1Rs2@host:notaport/db
Leaking shapes per port on stock (14 shapes across each port's schemes): python 10, ruby 14, node 58, php 17.tina4_python/database/database_url.py:68 (redact_url): the regex (://[^/@\s:]*:)[^/\r\n]*@ cannot cross / and never matches scheme:/, scheme// or a URL without a host. :303 re-raises the stdlib "Port could not be cast to integer value as 'Pq1'" message, which quotes the password.lib/tina4/database_url.rb:195 cuts the authority at the first ? or #. redact trusts URI.parse, which accepts postgres:/u:pw@h, u:p@/q@h and u:12?q@h with the password in the path or query. :341 keeps URI::InvalidURIError, whose message holds the raw URL, as the raised error's cause. graph.rb:90 and websocket_backplane.rb:99 do the same.packages/orm/src/databaseUrl.ts: authorityOf cuts at the first /, ? or #, so redactCredentials returns the raw URL and invalidUrlError names u:Pq1 as the host. The mssql and firebird patterns split at the first @. new URL accepts postgres:/... and u:12?q@h. packages/core/src/mqtt.ts quotes the raw URL in four error messages.Tina4/DatabaseUrl.php: the redact regex ([^/?#]*)@ returns those shapes unchanged into "Cannot determine database type from ..." (Database.php) and "Invalid URL format ...". parse_url accepts postgres:/u:pw@h, and PostgresAdapter then prints dbname='u:pw@...'.A probe per port feeds each shape to that port's real redact, parse and connect paths and greps the output for Pq1 or Rs2. Stock leaks the counts above; a fixed tree leaks 0.
@ on the line, and the password starts at the first : after the scheme. A / before that : means the text is a path, not a password.scheme://, scheme:/ or scheme//.@, a non-numeric port is treated as the password and masked to the end of the value, keeping a ?key=value query.scheme://, or whose @ count differs from what the parser took as userinfo, with a generic message that does not echo the value. Parse errors no longer chain the stdlib error that quotes the URL.
Behaviour change: an unencoded @ in a URL's query is now refused (encode it as %40). Over-redaction can mask a host if a second @ appears later on the same log line; it never shows a password.
Patches for all four ports, each with a regression test that fails on stock (python 36/46 cases, ruby 35/43, node 18/25, php 18/20) and passes fixed, sweeping passwords built from /?#@:%, a space and empty, plus no-host and one-slash URLs, are ready and apply cleanly to 3.13.159. Every part of the fix was gated by mutation, and full-suite failure sets match stock.
Not covered by the patches: python kafka/AMQP and graph/Redis urlparse errors, php AMQP splitting at the first @, the php MySQLAdapter message that prints the raw host string, and node devAdmin returning the raw URL. A host-less URL whose password is all digits (postgres://u:123/x) cannot be told apart from a port and stays unmasked.ソース: NVD
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"