
Cloud Vulnerability DB
A community-led vulnerabilities database
When a database URL in a Kulyrax configuration could not be parsed, six adapters reported the error with the full URL, password included, after environment-variable expansion.
Each adapter checks its connection URL when it is built. If the URL does not parse, the error message quotes it, for example:
postgres adapter "store": `url` does not parse: postgres://app:<password>@db:54x32/appThe URL is shown after ${VAR} expansion. A configuration that keeps the password
in an environment variable (postgres://app:${DB_PASSWORD}@db/app) therefore still
shows the password itself.
A URL is refused for ordinary reasons: a mistyped port, or a password with a
character the driver does not accept unescaped. The message reaches:
kulyrax run, ingest, dry-run, explain, replay and rebuild, and
wherever that output is collected (terminals, service logs, CI logs);kulyrax-core receives;kulyrax reload rejected for this reason, the file
<config folder>/.kulyrax/control/reload-result, written with default file
permissions.
Kulyrax prints no credential in any other path. Specifically:Someone who can read Kulyrax's output or logs, or the reload result file, can obtain the password of the database whose URL was refused. It requires a misconfigured URL, and the operator who wrote the configuration already knows the password. The risk is the copies: logs and CI output kept and readable by more people than the database password should be.
0.12.1 shows the URL with the password as ***, in every adapter error and in the
Debug output of every adapter and source configuration. It also masks the values of
the query parameters password, sslpassword, token, apikey, api_key,
access_token and secret (whatever their case), and writes reload-result
readable by its owner only (0600 on Unix).
Until you upgrade: make sure every database URL parses before you start Kulyrax, and
restrict who can read Kulyrax's logs and the .kulyrax/control/ folder.
If you ever saw a "url does not parse" (or Neo4j "uri …") error from Kulyrax,
rotate that database's password and remove old copies of the logs and of
.kulyrax/control/reload-result that may hold it.
Found during the 1.0 senior-engineer review (F-06).
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."