GHSA-jqhc-m2j3-fjrx · 深刻度: medium · エコシステム: pip — SQLFluff users with access to config file, using `libary_path` may call arbitrary python code
SQLFluff is a SQL linter. Prior to version 2.1.2, in environments where untrusted users have access to the config files, there is a potential security vulnerability where those users could use the `library_path` config value to allow arbitrary python code to be executed via macros. For many users who use SQLFluff in the context of an environment where all users already have fairly escalated privileges, this may not be an issue - however in larger user bases, or where SQLFluff is bundled into another tool where developers still wish to give users access to supply their on rule configuration, this may be an issue. The 2.1.2 release offers the ability for the `library_path` argument to be overwritten on the command line by using the `--library-path` option. This overrides any values provided in the config files and effectively prevents this route of attack for users which have access to the config file, but not to the scripts which call the SQLFluff CLI directly. A similar option is provided for the Python API, where users also have a greater ability to further customise or override configuration as necessary. Unless `library_path` is explicitly required, SQLFluff maintainers recommend using the option `--library-path none` when invoking SQLFluff which will disable the `library-path` option entirely regardless of the options set in the configuration file or via inline config directives. As a workaround, limiting access to - or otherwise validating configuration files before they are ingested by SQLFluff will provides a similar effect and does not require upgrade.
総合評価: CVE-2023-36830 は公開エクスプロイトあり(51.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.39%、31 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.15% | 0.39% | +0.24% |
| 2 | 2026-03-31 | 0.14% | 0.15% | +0.02% |
| 3 | 2025-11-21 | — | 0.14% | — |
EPSS の全履歴 (全 9 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.3 | 3.1 | MEDIUM |
|
2.0 | 3.7 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
GHSA-jqhc-m2j3-fjrx · 深刻度: medium · エコシステム: pip — SQLFluff users with access to config file, using `libary_path` may call arbitrary python code
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2023-36830 not yet assigned priority: Debian including 1 source packages (sqlfluff), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. | https://security-tracker.debian.org/tracker/CVE-2023-36830 |
ubuntu
|
medium | CVE-2023-36830 medium priority: Ubuntu including 1 source packages (sqlfluff), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, DNE 3, needs-triage 3. | https://ubuntu.com/security/CVE-2023-36830 |
| URL | タグ |
|---|---|
| https://github.com/sqlfluff/sqlfluff/releases/tag/2.1.2 | Release Notes |
| https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-jqhc-m2j3-fjrx | Exploit Vendor Advisory |