Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-36830

6.3 · MEDIUM
Published Jul 6, 2023 sqlfluff CWE-74 EPSS 0.41% (34th pctl)

Overview

CVE-2023-36830 is a medium-severity vulnerability affecting sqlfluff sqlfluff. It was published on July 6, 2023 and has a CVSS 3.1 base score of 6.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.3, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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 prov

Remediation

Check the references section for vendor advisories and patches from sqlfluff. Update sqlfluff to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
sqlfluff sqlfluff >= 0, < 2.1.2 Affected

Frequently Asked Questions

What is CVE-2023-36830?

CVE-2023-36830 is a medium-severity vulnerability affecting sqlfluff sqlfluff. It was published on July 6, 2023 and has a CVSS 3.1 base score of 6.3 (MEDIUM).

How severe is CVE-2023-36830?

This vulnerability has a CVSS 3.1 base score of 6.3, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-36830?

Check the references section for vendor advisories and patches from sqlfluff. Update sqlfluff to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-36830?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-36830 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.