CVE-2018-17191
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 · uneditedApache NetBeans (incubating) 9.0 NetBeans Proxy Auto-Configuration (PAC) interpretation is vulnerable for remote command execution (RCE). Using the nashorn script engine the environment of the javascript execution for the Proxy Auto-Configuration leaks privileged objects, that can be used to circumvent the execution limits. If a different script engine was used, no execution limits were in place. Both vectors allow remote code execution.
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 confidenceApache NetBeans 9.0 has a critical RCE vulnerability in its Proxy Auto-Configuration (PAC) file interpreter. The nashorn JavaScript engine used for PAC evaluation exposes privileged objects that can be leveraged to execute arbitrary code. Additionally, alternative script engines have no execution sandboxing, providing a second RCE vector.
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= 9.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
- 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.
-
Identify installed NetBeans versionCheck the About or Help menu in NetBeans, or look for version info in the installation directory. On Windows, check the program files folder. On Linux/Mac, check /opt/netbeans or ~/netbeansAffected if The version is exactly 9.0 (other versions like 8.x or 10.0+ are not affected)
-
Determine if PAC is configuredLook in NetBeans preferences under Options > General > Proxy Settings, or check for PAC (Proxy Auto-Configuration) URL or script path configured in the IDE network settingsAffected if A PAC script URL or file path is configured and in use by NetBeans
-
Inspect the PAC script sourceIf a PAC file is in use, locate and examine it. Check if the script uses JavaScript (nashorn engine) or alternative scripting languages like BeanShell, Groovy, or other JVM script enginesAffected if The PAC configuration loads a custom script that could expose privileged Java objects or run unsandboxed code
-
Check for custom proxy scriptsReview any .js, .bsh, .groovy, or other script files used for proxy configuration in the NetBeans config directoriesAffected if Custom scripts are present that leverage the NetBeans script engine for PAC evaluation
You are affected only if you have Apache NetBeans version 9.0 specifically AND have a PAC proxy configuration enabled that evaluates scripts using the nashorn engine or alternative unsandboxed script engines.
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 Apache NetBeans 10.0 or later which contains the security fix, or avoid using PAC configurations until the upgrade can be performed.
Apache NetBeans 10.0 or later (latest stable release recommended)
- 1. Back up your current NetBeans configuration and projects
- 2. Uninstall Apache NetBeans 9.0
- 3. Download Apache NetBeans 10.0 or later from the official Apache NetBeans download page (https://netbeans.apache.org/)
- 4. Install the newer version following the standard installation procedure
- 5. Reconfigure your Proxy Auto-Configuration (PAC) settings if needed after upgrade
- 6. Verify that PAC functionality works correctly with the new installation
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.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 $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-17191 — 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-17191 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