CVE-2018-11768
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 Apache Hadoop 3.1.0 to 3.1.1, 3.0.0-alpha1 to 3.0.3, 2.9.0 to 2.9.1, and 2.0.0-alpha to 2.8.4, the user/group information can be corrupted across storing in fsimage and reading back from fsimage.
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 confidenceIn affected Apache Hadoop versions, user/group metadata becomes corrupted when stored in and read back from fsimage (Hadoop's filesystem checkpoint files). This data integrity flaw in the fsimage serialization/deserialization process can cause incorrect user/group mappings, potentially leading to authorization and access control failures.
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>= 2.2.0, <= 2.8.4>= 2.9.0, <= 2.9.1>= 3.0.1, <= 3.0.3>= 3.1.0, <= 3.1.1= 2.0.0= 2.0.1= 2.0.2= 2.0.3= 2.0.4= 2.0.5= 2.0.6= 2.1.0CVSS 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
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.
-
Identify installed Hadoop versionRun 'hdfs version' or check the Hadoop installation directory for the version file (e.g., $HADOOP_HOME/share/hadoop/common/HADOOP_VERSION). Compare the version number against the affected ranges: 2.2.0-2.8.4, 2.9.0-2.9.1, 3.0.1-3.0.3, 3.1.0-3.1.1, or specific 2.0.x releases.Affected if The installed version falls within any of the affected version ranges listed in the CVE.
-
Confirm HDFS NameNode is using fsimageCheck if the NameNode has generated fsimage files. Look in the Hadoop configuration (hdfs-site.xml) for the property 'dfs.namenode.name.dir' - this directory contains the fsimage_XXXX files. Run 'ls -la <dfs.namenode.name.dir>' to list existing fsimage files.Affected if Fsimage files exist and the NameNode is actively using them for checkpointing (this is the default HDFS configuration).
-
Inspect fsimage for user/group mapping corruptionUse the Hadoop offline image viewer (oiv) to convert an fsimage file to readable format. Run: 'hdfs oiv -i <path-to-fsimage> -o /tmp/fsimage_output.xml -p XML'. Then examine the XML output for the <topology> or <delegationToken> sections that contain user/group mappings.Affected if The fsimage XML output shows unexpected, missing, or malformed user-to-group mappings that do not match the configured users and groups in the cluster.
-
Verify authorization anomaliesCompare user/group assignments in the fsimage against the expected OS-level users/groups and any external directory (like LDAP/Active Directory if used). Run 'hdfs dfs -ls /' as various users to test access, and check if access permissions are incorrectly granted or denied due to wrong group mappings.Affected if Users cannot access resources they should have access to, or unauthorized users can access protected resources, due to incorrect group membership derived from corrupted fsimage data.
A user is affected if they run any Hadoop version within the listed ranges and their fsimage files contain corrupted user/group mappings that cause authorization failures.
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.
From vendor dataUpgrade Hadoop to a patched version (3.1.2+, 3.0.4+, 2.9.2+, or 2.9.2+). For existing clusters, validate user/group mappings in fsimage files and re-create if corrupted.
- Consultation8.0 h
- Implementation16.0 h
- Testing12.0 h
- Review / QA6.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,776.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-11768 — 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-11768 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