CVE-2018-15751
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allow remote attackers to bypass authentication and execute arbitrary commands via salt-api(netapi).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAuthentication bypass vulnerability in SaltStack Salt's salt-api (netapi) component allows remote unauthenticated attackers to execute arbitrary commands by bypassing authentication mechanisms. The flaw affects versions before 2017.7.8 and 2018.3.x before 2018.3.3.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2017.7.8>= 2018.3.0, < 2018.3.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify salt-api netapi is enabledInspect Salt master configuration files (typically /etc/salt/master or /etc/salt/master.d/*.conf) for the 'netapi' or 'rest_cherrypy' / 'rest_tornado' module enablement under the 'external_auth' or 'netapi' section.Affected if The netapi module (such as rest_cherrypy or rest_tornado) is enabled in the Salt master configuration and the salt-api service is running.
-
Check installed Salt versionRun 'salt --version' or 'salt-master --version' on the Salt master to retrieve the exact version number.Affected if The installed version is any version before 2017.7.8, or any version from 2018.3.0 through 2018.3.2.
-
Identify the netapi listener portReview the Salt master configuration for the 'port' directive under the netapi/rest_cherrypy or netapi/rest_tornado section to determine which port salt-api is listening on (default ports are 8000 for rest_cherrypy and 8001 for rest_tornado).Affected if A netapi listener port is configured and exposed.
-
Assess network exposure of salt-apiVerify whether the netapi listener port is bound to an interface accessible from untrusted networks, or check firewall rules and network ACLs controlling access to the salt-api port.Affected if The salt-api port is accessible from untrusted or external network segments.
You are affected if salt-api (netapi) is enabled and your installed Salt version falls within < 2017.7.8 or >= 2018.3.0 to < 2018.3.3, and the service is network-accessible.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2017.7.82018.3.3
Upgrade SaltStack Salt to version 2017.7.8, 2018.3.3, or later to patch the authentication bypass in salt-api. Until patched, avoid exposing salt-api to untrusted networks.
2017.7.8 or later for 2017.x branch; 2018.3.3 or later for 2018.3.x branch
- 1. Identify current SaltStack Salt version by running: salt --version
- 2. For systems running Salt 2017.7.x: Upgrade to version 2017.7.8 or later (e.g., pip install --upgrade salt==2017.7.8 or use OS package manager)
- 3. For systems running Salt 2018.3.x: Upgrade to version 2018.3.3 or later (e.g., pip install --upgrade salt==2018.3.3 or use OS package manager)
- 4. After upgrading, restart all Salt services (salt-master, salt-minion, salt-api) to apply changes
- 5. Verify the upgrade was successful by running: salt --version
- 6. If using salt-api, ensure the netapi module is properly secured and authentication is functioning as expected
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-15751 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-15751 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data