CVE-2018-20871
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 · uneditedIn Univa Grid Engine before 8.6.3, when configured for Docker jobs and execd spooling on root_squash, weak file permissions ("other" write access) occur in certain cases (GE-6890).
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 confidenceUniva Grid Engine before version 8.6.3 has weak file permissions when configured for Docker jobs with execd spooling on root_squash NFS mounts. The vulnerability exposes files with 'other' write access, allowing unprivileged users to modify files that should be protected by root_squash, potentially enabling privilege escalation or code execution as root.
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= 8.6.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.
-
Check Univa Grid Engine versionRun 'qstat -help' or check the installed package version using your system package manager (dpkg, rpm, etc.) to determine the installed version of Univa Grid Engine.Affected if The installed version is earlier than 8.6.3.
-
Verify Docker job configurationInspect the Grid Engine configuration files (typically in $SGE_ROOT or /etc/gridengine) and check if Docker execution or container support is enabled in the queue configuration or execd configuration.Affected if Docker jobs or container execution is configured and enabled.
-
Confirm execd spooling is in useCheck the execd (execution daemon) spooling configuration in the Grid Engine configuration, typically found in the 'execd_params' or similar configuration files. Look for the 'execd_spool_dir' parameter setting.Affected if Execd spooling is configured and active.
-
Identify NFS mount with root_squash for spoolingDetermine the actual filesystem location of the execd spooling directory (from step 3), then use 'mount' or 'df -h' commands to verify if this path resides on an NFS mount. Check the NFS export settings on the server side for 'root_squash' or 'no_root_squash' options.Affected if The spooling directory is located on an NFS mount with root_squash enabled.
-
Inspect file permissions on spooling directoriesUse 'ls -la' or 'getfacl' on the execd spooling directory and its contents to check for 'other' write permissions (o+w or permission bits ending in odd numbers for 'other' write).Affected if Files or directories in the spooling area have 'other' write permissions enabled, allowing unprivileged users to modify protected files.
You are affected if Univa Grid Engine version is earlier than 8.6.3, Docker job support is enabled, execd spooling is used on an NFS mount with root_squash, and files in the spooling directory have 'other' write access permissions.
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 · scopedUpgrade to Univa Grid Engine 8.6.3 or later to receive the fix for GE-6890. Alternatively, audit and restrict file permissions on execd spooling directories to remove 'other' write access and ensure root_squash protection is enforced.
8.6.3 or later
- Upgrade Univa Grid Engine to version 8.6.3 or later to resolve the weak file permissions issue (GE-6890)
- After upgrade, verify that file permissions on execd spooling directories no longer allow 'other' write access
- If using root_squash with Docker jobs, confirm proper permission inheritance is working 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-20871 — 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-20871 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