Varselでアプリケーションログに APIキーが平文で記録される脆弱性
Summary
Varselでは、GraphQLのWebSocket接続で送られたAPIキーが、アプリケーションログに平文で書き込まれます。ログを読める人がAPIキーを取得し、そのキーの持ち主になりすませるおそれがあります。影響するのはcna.erlef.orgで、修正版はff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8です。ログに残ったAPIキーは無効化し、修正を適用してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Varselでは、GraphQLのWebSocket接続で送られたAPIキーが、アプリケーションログに平文で書き込まれます。ログを読める人がAPIキーを取得し、そのキーの持ち主になりすませるおそれがあります。影響するのはcna.erlef.orgで、修正版はff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8です。ログに残ったAPIキーは無効化し、修正を適用してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| erlef-cnavarsel |
≥ 55050dace0454eeef3d6c64bdee29f16a537c70b, < ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8→ ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8 |
ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8 |
Original description The description as published by the source.
Insertion of Sensitive Information into Log File vulnerability in erlef-cna Varsel allows a reader of the application log to obtain API keys.
A client of /ws/gql sends its credential in the connect params, which VarselWeb.GraphqlSocket.connect/3 reads. Phoenix logs these params at info level and filters them by name. The :filter_parameters list in config/config.exs did not match api_key, so each connect wrote the key in plain text. An API key carries the full authority of its user and has no scope. In earlier versions the list also did not match token, so an OAuth access token sent on the same endpoint was logged in the same way.
This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 55050dace0454eeef3d6c64bdee29f16a537c70b before ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web cna.erlef.org
- web github.com
- web github.com
- web osv.dev
- web cna.erlef.org
- web github.com