CVE-2019-17558
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 Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter. A Velocity template can be provided through Velocity templates in a configset `velocity/` directory or as a parameter. A user defined configset could contain renderable, potentially malicious, templates. Parameter provided templates are disabled by default, but can be enabled by setting `params.resource.loader.enabled` by defining a response writer with that setting set to `true`. Defining a response writer requires configuration API access. Solr 8.4 removed the params resource loader entirely, and only enables the configset-provided template rendering when the configset is `trusted` (has been uploaded by an authenticated user).
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 Solr versions 5.0.0 to 8.3.1 contain a Remote Code Execution vulnerability in the VelocityResponseWriter. Attackers with configset API access can inject malicious Velocity templates through either a configset's velocity/ directory or via request parameters when params.resource.loader.enabled is explicitly enabled. Successful exploitation allows arbitrary code execution on the server.
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>= 5.0.0, < 7.7.3>= 8.0.0, < 8.4.0>= 17.7, <= 17.12= 16.1= 16.2= 18.8= 19.12CVSS 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
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:L/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 installed Solr versionQuery the Solr admin API endpoint /solr/admin/info/system or run 'bin/solr version' to obtain the running Solr version numberAffected if The version is >= 5.0.0 and < 7.7.3, or >= 8.0.0 and < 8.4.0
-
Verify VelocityResponseWriter is in useReview solrconfig.xml files for <queryResponseWriter name="velocity" ...> configuration or check if velocity is explicitly configured as a response writerAffected if VelocityResponseWriter is configured as a response writer in any solrconfig.xml
-
Check for params.resource.loader.enabledSearch solrconfig.xml files for the parameter 'params.resource.loader.enabled' set to 'true', or inspect the runtime parameters being passed to Solr requestsAffected if params.resource.loader.enabled is set to true in any configset configuration
-
Inspect custom configsets for velocity templatesExamine the conf/configsets directory or uploaded configset directories for the presence of a velocity/ subdirectory containing custom .vm template filesAffected if A custom configset contains a velocity/ directory with user-defined Velocity templates
-
Check for exposed configuration APIVerify if the Solr Configuration API endpoint (/solr/admin/configs) is accessible without authentication or via an untrusted userAffected if The config API is accessible to untrusted users who can upload or modify configsets
You are affected if running a vulnerable Solr version AND either VelocityResponseWriter is enabled with params.resource.loader.enabled=true OR untrusted users can upload custom configsets with velocity templates.
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 · scoped7.7.38.4.0
Upgrade to Apache Solr 8.4 or later, which removes the params resource loader and restricts configset template rendering to trusted (authenticated-uploaded) configsets only. Ensure unauthenticated configset uploads are not permitted.
Solr 7.7.3+ or 8.4.0+
- Upgrade Apache Solr to version 7.7.3 or later for the 7.x branch
- If using Solr 8.x, upgrade to version 8.4.0 or later
- After upgrading, verify that the VelocityResponseWriter is not enabled with untrusted configsets
- For Primavera Unifier, ensure the underlying Solr version is also updated to a fixed version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2019-17558 — 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 sources- issues.apache.org
- packetstormsecurity.com
- issues.apache.org
- packetstormsecurity.com
- www.oracle.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2019-17558 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